修改: app/api/bedrock.ts

This commit is contained in:
glay 2024-11-05 23:28:07 +08:00
parent 1998cf5ced
commit 045adc3567

View File

@ -40,7 +40,6 @@ export interface ConverseRequest {
}
function supportsToolUse(modelId: string): boolean {
// llama和mistral模型不支持工具调用
return modelId.toLowerCase().includes("claude-3");
}