mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 17:44:57 +08:00
hotfix
This commit is contained in:
@@ -285,7 +285,9 @@ export class ClaudeApi implements LLMApi {
|
||||
type: "tool_use",
|
||||
id: tool.id,
|
||||
name: tool?.function?.name,
|
||||
input: JSON.parse(tool?.function?.arguments as string),
|
||||
input: tool?.function?.arguments
|
||||
? JSON.parse(tool?.function?.arguments)
|
||||
: {},
|
||||
}),
|
||||
),
|
||||
},
|
||||
|
Reference in New Issue
Block a user