fix: claude tool call format #795 #766

This commit is contained in:
1808837298@qq.com
2025-02-26 23:40:16 +08:00
parent c3b0e57ea4
commit 23de62ec0d
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ type FunctionCall struct {
Name string `json:"name,omitempty"`
// call function with arguments in JSON format
Parameters any `json:"parameters,omitempty"` // request
Arguments string `json:"arguments,omitempty"`
Arguments string `json:"arguments"`
}
type ChatCompletionsStreamResponse struct {