Update toolSupport.ts
This commit is contained in:
parent
e814091619
commit
1b3273e81a
1 changed files with 5 additions and 6 deletions
|
|
@ -88,15 +88,14 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
);
|
||||
},
|
||||
bedrock: (model) => {
|
||||
// For Bedrock, only support Claude Sonnet models with versions 3.5/3-5 and 3.7/3-7
|
||||
if (
|
||||
model.toLowerCase().includes("sonnet") &&
|
||||
[
|
||||
"claude-3-5",
|
||||
"claude-3.5",
|
||||
"claude-3-7",
|
||||
"claude-3.7",
|
||||
"claude-3-5-sonnet",
|
||||
"claude-3.5-sonnet",
|
||||
"claude-3-7-sonnet",
|
||||
"claude-3.7-sonnet",
|
||||
"claude-sonnet-4",
|
||||
"claude-opus-4",
|
||||
].some((part) => model.toLowerCase().includes(part))
|
||||
) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue