Assign the entire gpt-5 model family same characteristics (#3490)

So the context size indicator is displayed.
This commit is contained in:
pakrym-oai
2025-09-11 11:56:49 -07:00
committed by GitHub
parent 167b4f0e25
commit 66967500bb

View File

@@ -78,7 +78,7 @@ pub(crate) fn get_model_info(model_family: &ModelFamily) -> Option<ModelInfo> {
max_output_tokens: 4_096,
}),
"gpt-5" => Some(ModelInfo {
_ if slug.starts_with("gpt-5") => Some(ModelInfo {
context_window: 272_000,
max_output_tokens: 128_000,
}),