nit: update auto compact to 250k (#4135)
update auto compact for gpt-5-codex to 250k
This commit is contained in:
@@ -64,7 +64,7 @@ pub(crate) fn get_model_info(model_family: &ModelFamily) -> Option<ModelInfo> {
|
|||||||
_ if slug.starts_with("gpt-5-codex") => Some(ModelInfo {
|
_ if slug.starts_with("gpt-5-codex") => Some(ModelInfo {
|
||||||
context_window: 272_000,
|
context_window: 272_000,
|
||||||
max_output_tokens: 128_000,
|
max_output_tokens: 128_000,
|
||||||
auto_compact_token_limit: Some(220_000),
|
auto_compact_token_limit: Some(250_000),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
_ if slug.starts_with("gpt-5") => Some(ModelInfo::new(272_000, 128_000)),
|
_ if slug.starts_with("gpt-5") => Some(ModelInfo::new(272_000, 128_000)),
|
||||||
|
|||||||
Reference in New Issue
Block a user