fix(models): use exact DeepSeek context window

This commit is contained in:
Release Repro 2026-07-31 13:17:08 -04:00
parent 1016f995c4
commit 40391ac3ac
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -4198,6 +4198,7 @@ enabled = true
.unwrap_or_else(|| panic!("'{id}' should resolve on provider '{provider}'"));
assert_eq!(model.id, id, "{provider}/{id}");
assert_eq!(model.provider, provider, "{provider}/{id}");
assert_eq!(model.limits.context_window, 1_048_576, "{provider}/{id}");
}
for alias in ["deepseek", "deepseek-v4", "deepseek-flash"] {
let model = catalog

View file

@ -419,7 +419,7 @@ family = "deepseek-v4"
agent_profile = "openai"
[providers.openrouter.models."deepseek-v4-pro".limits]
context_window = 1050000
context_window = 1048576
max_output = 384000
[providers.openrouter.models."deepseek-v4-pro".features]
@ -448,7 +448,7 @@ aliases = ["deepseek-v4", "deepseek", "deepseek-flash"]
agent_profile = "openai"
[providers.openrouter.models."deepseek-v4-flash".limits]
context_window = 1050000
context_window = 1048576
max_output = 384000
[providers.openrouter.models."deepseek-v4-flash".features]