nit: update auto compact to 250k (#4135)

update auto compact for gpt-5-codex to 250k
This commit is contained in:
jif-oai 2025-09-24 10:41:33 +01:00 committed by GitHub
parent f7d2f3e54d
commit b90eeabd74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ pub(crate) fn get_model_info(model_family: &ModelFamily) -> Option<ModelInfo> {
_ if slug.starts_with("gpt-5-codex") => Some(ModelInfo {
context_window: 272_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)),