mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-30 17:04:49 +08:00
fix(codex): fill DeepSeek contextWindow in OpenCode Go catalog
Both deepseek-v4-pro/flash lacked contextWindow; codex_config.rs falls back to 128k for catalog entries without it, forcing premature compaction.
This commit is contained in:
@@ -1527,8 +1527,16 @@ requires_openai_auth = true`,
|
||||
displayName: "Kimi K2.7 Code",
|
||||
contextWindow: 262144,
|
||||
},
|
||||
{ model: "deepseek-v4-pro", displayName: "DeepSeek V4 Pro" },
|
||||
{ model: "deepseek-v4-flash", displayName: "DeepSeek V4 Flash" },
|
||||
{
|
||||
model: "deepseek-v4-pro",
|
||||
displayName: "DeepSeek V4 Pro",
|
||||
contextWindow: 1048576,
|
||||
},
|
||||
{
|
||||
model: "deepseek-v4-flash",
|
||||
displayName: "DeepSeek V4 Flash",
|
||||
contextWindow: 1048576,
|
||||
},
|
||||
{
|
||||
model: "mimo-v2.5-pro",
|
||||
displayName: "MiMo V2.5 Pro",
|
||||
|
||||
Reference in New Issue
Block a user