修改: app/api/bedrock.ts
This commit is contained in:
parent
1998cf5ced
commit
045adc3567
|
@ -40,7 +40,6 @@ export interface ConverseRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
function supportsToolUse(modelId: string): boolean {
|
function supportsToolUse(modelId: string): boolean {
|
||||||
// llama和mistral模型不支持工具调用
|
|
||||||
return modelId.toLowerCase().includes("claude-3");
|
return modelId.toLowerCase().includes("claude-3");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue