fix: claude tool call format #795 #766

This commit is contained in:
1808837298@qq.com committed 2025-02-26 23:40:16 +08:00
1 parent c3b0e57ea4
commit 23de62ec0d
4 files changed
+14 -8

No files matched your search

+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 {