Update toolSupport.ts

This commit is contained in:
Patrick Erichsen 2025-07-01 12:06:14 -07:00 • committed by GitHub
parent c86e88ff0c
commit 57dfad242d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
"gpt-4",
"o3",
"gemini",
"claude-opus-4",
].some((part) => model.toLowerCase().startsWith(part));
},
anthropic: (model) => {
@ -32,6 +33,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
"claude-3-7",
"claude-3.7",
"claude-sonnet-4",
"claude-opus-4",
].some((part) => model.toLowerCase().startsWith(part))
) {
return true;