fix: vertex claude

This commit is contained in:
1808837298@qq.com
2025-03-03 20:06:08 +08:00
parent d499b6410c
commit 894f950e96
4 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ type ClaudeRequest struct {
TopK int `json:"top_k,omitempty"`
//ClaudeMetadata `json:"metadata,omitempty"`
Stream bool `json:"stream,omitempty"`
Tools []Tool `json:"tools,omitempty"`
Tools any `json:"tools,omitempty"`
ToolChoice any `json:"tool_choice,omitempty"`
Thinking *Thinking `json:"thinking,omitempty"`
}