fix: vertex claude

This commit is contained in:
1808837298@qq.com
2025-03-03 20:06:08 +08:00
parent 6ecfb81cbc
commit b1be64bcf3
4 changed files with 27 additions and 13 deletions

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