Feat: Upgrade Claude web search tool to 20260318

Co-authored-by: gemini-3.6-flash <noreply@google.com>
This commit is contained in:
2026-07-24 17:24:24 -07:00
parent c459878152
commit 04e4d9e44e

View File

@@ -189,7 +189,7 @@ export async function streamClaude({ apiKey, body, signal, onDelta, isRunning })
if (online) {
payload.tools = [
...(payload.tools || []),
{ type: 'web_search_20250305', name: 'web_search' },
{ type: 'web_search_20260318', name: 'web_search', allowed_callers: ['direct'] },
]
}