diff --git a/llm/client.go b/llm/client.go index a7ae1d4..074db52 100644 --- a/llm/client.go +++ b/llm/client.go @@ -207,7 +207,7 @@ func (c *Client) completeOpenAI(ctx context.Context, messages []Message) (string type anthropicRequest struct { AnthropicVersion string `json:"anthropic_version,omitempty"` - Model string `json:"model"` + Model string `json:"model,omitempty"` MaxTokens int `json:"max_tokens"` System string `json:"system,omitempty"` Messages []anthropicMsg `json:"messages"`