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

@@ -14,7 +14,7 @@ type AwsClaudeRequest struct {
TopP float64 `json:"top_p,omitempty"`
TopK int `json:"top_k,omitempty"`
StopSequences []string `json:"stop_sequences,omitempty"`
Tools []claude.Tool `json:"tools,omitempty"`
Tools any `json:"tools,omitempty"`
ToolChoice any `json:"tool_choice,omitempty"`
Thinking *claude.Thinking `json:"thinking,omitempty"`
}