mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-22 21:50:16 +09:00
修改: 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
Block a user