mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
chore(presets): bump Codex OAuth preset to GPT-5.4 family
Update the "Codex (ChatGPT Plus/Pro)" entry in Claude Code presets to the new GPT-5.4 naming, which drops the legacy `-codex` suffix. Map the Haiku tier to `gpt-5.4-mini` for lower-cost lightweight calls while keeping Sonnet/Opus on the standard `gpt-5.4`.
This commit is contained in:
@@ -717,10 +717,10 @@ export const providerPresets: ProviderPreset[] = [
|
||||
// base_url 由代理后端强制重写为 chatgpt.com/backend-api/codex
|
||||
// 用户无需配置
|
||||
ANTHROPIC_BASE_URL: "https://chatgpt.com/backend-api/codex",
|
||||
ANTHROPIC_MODEL: "gpt-5.1-codex",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "gpt-5.1-codex-mini",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "gpt-5.1-codex",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "gpt-5.1-codex-max",
|
||||
ANTHROPIC_MODEL: "gpt-5.4",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "gpt-5.4-mini",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "gpt-5.4",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "gpt-5.4",
|
||||
},
|
||||
},
|
||||
category: "third_party",
|
||||
|
||||
Reference in New Issue
Block a user