mirror of
https://github.com/sune-org/us.proxy.sune.chat.git
synced 2026-08-07 07:25:46 +00:00
Feat: Upgrade Claude web search tool to 20260318
Co-authored-by: gemini-3.6-flash <noreply@google.com>
This commit is contained in:
@@ -189,7 +189,7 @@ export async function streamClaude({ apiKey, body, signal, onDelta, isRunning })
|
|||||||
if (online) {
|
if (online) {
|
||||||
payload.tools = [
|
payload.tools = [
|
||||||
...(payload.tools || []),
|
...(payload.tools || []),
|
||||||
{ type: 'web_search_20250305', name: 'web_search' },
|
{ type: 'web_search_20260318', name: 'web_search', allowed_callers: ['direct'] },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user