fix: vertex claude

This commit is contained in:
1808837298@qq.com committed 2025-03-03 20:06:08 +08:00
1 parent d499b6410c
commit 894f950e96
4 files changed
+27 -13

No files matched your search

+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"`
}