Skip to content

Commit bd596c6

Browse files
committed
Use sonnet 4.6 as default in anthropic
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent 369503f commit bd596c6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/config/auto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (e *AutoModelFallbackError) Error() string {
5454

5555
var DefaultModels = map[string]string{
5656
"openai": "gpt-5-mini",
57-
"anthropic": "claude-sonnet-4-5",
57+
"anthropic": "claude-sonnet-4-6",
5858
"google": "gemini-2.5-flash",
5959
"dmr": "ai/qwen3:latest",
6060
"mistral": "mistral-small-latest",

pkg/config/auto_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func TestAutoModelConfig(t *testing.T) {
168168
"ANTHROPIC_API_KEY": "test-key",
169169
},
170170
expectedProvider: "anthropic",
171-
expectedModel: "claude-sonnet-4-5",
171+
expectedModel: "claude-sonnet-4-6",
172172
expectedMaxTokens: 32000,
173173
},
174174
{
@@ -210,7 +210,7 @@ func TestAutoModelConfig(t *testing.T) {
210210
envVars: map[string]string{},
211211
gateway: "gateway:8080",
212212
expectedProvider: "anthropic",
213-
expectedModel: "claude-sonnet-4-5",
213+
expectedModel: "claude-sonnet-4-6",
214214
expectedMaxTokens: 32000,
215215
},
216216
}

0 commit comments

Comments
 (0)