mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-11 19:53:47 +08:00
修改: app/api/bedrock.ts
This commit is contained in:
@@ -100,7 +100,6 @@ function formatRequestBody(
|
||||
}),
|
||||
};
|
||||
|
||||
// 只有在支持工具调用的模型上才添加toolConfig
|
||||
if (request.tools?.length && supportsToolUse(request.modelId)) {
|
||||
input.toolConfig = {
|
||||
tools: request.tools.map((tool) => ({
|
||||
|
||||
Reference in New Issue
Block a user