mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-06 00:05:30 +00:00
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:
1 parent
530c5e3a4f
commit
734b922bd8
1 file changed
+1
-1
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user