fix(claude): default account tests to claude-sonnet-4-6

claude-sonnet-4-5-20250929 is deprecated and retires on the Claude API
on November 30, 2026:
https://platform.claude.com/docs/en/about-claude/model-deprecations

claude.DefaultTestModel is what an account connection test sends when
no model is picked, so after that date the default test would fail even
for healthy accounts. Move it to claude-sonnet-4-6, which the gateway
already uses for the Antigravity test default and maps for Bedrock.

Signed-off-by: Anand Biju <169837340+Anandb71@users.noreply.github.com>
This commit is contained in:
Anand Biju committed 2026-11-13 10:45:12 +05:30
1 parent 530c5e3a4f
commit 734b922bd8
1 file changed
+1 -1
+1 -1
View File
@@ -253,7 +253,7 @@ func DefaultModelIDs() []string {
}
// DefaultTestModel 测试时使用的默认模型
const DefaultTestModel = "claude-sonnet-4-5-20250929"
const DefaultTestModel = "claude-sonnet-4-6"
// ModelIDOverrides Claude OAuth 请求需要的模型 ID 映射
var ModelIDOverrides = map[string]string{