diff options
Diffstat (limited to 'internal/llm')
| -rw-r--r-- | internal/llm/anthropic.go | 2 | ||||
| -rw-r--r-- | internal/llm/anthropic_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/llm/anthropic.go b/internal/llm/anthropic.go index a6c1454..0d87424 100644 --- a/internal/llm/anthropic.go +++ b/internal/llm/anthropic.go @@ -98,7 +98,7 @@ func newAnthropicWithTimeout(baseURL, model, apiKey string, defaultTemp *float64 baseURL = "https://api.anthropic.com/v1" } if strings.TrimSpace(model) == "" { - model = "claude-3-5-sonnet-20241022" + model = "claude-3-5-sonnet-20240620" } if timeoutSec <= 0 { timeoutSec = 30 diff --git a/internal/llm/anthropic_test.go b/internal/llm/anthropic_test.go index 578b536..ffc5021 100644 --- a/internal/llm/anthropic_test.go +++ b/internal/llm/anthropic_test.go @@ -253,7 +253,7 @@ func TestAnthropicClient_DefaultBaseURL(t *testing.T) { func TestAnthropicClient_DefaultModel_Empty(t *testing.T) { c := newAnthropic("https://api.anthropic.com/v1", "", "test-key", nil).(anthropicClient) - if c.defaultModel != "claude-3-5-sonnet-20241022" { + if c.defaultModel != "claude-3-5-sonnet-20240620" { t.Fatalf("expected default model, got '%s'", c.defaultModel) } } |
