Skip to content

Commit 6696750

Browse files
authored
Assign the entire gpt-5 model family same characteristics (#3490)
So the context size indicator is displayed.
1 parent 167b4f0 commit 6696750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-rs/core/src/openai_model_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub(crate) fn get_model_info(model_family: &ModelFamily) -> Option<ModelInfo> {
7878
max_output_tokens: 4_096,
7979
}),
8080

81-
"gpt-5" => Some(ModelInfo {
81+
_ if slug.starts_with("gpt-5") => Some(ModelInfo {
8282
context_window: 272_000,
8383
max_output_tokens: 128_000,
8484
}),

0 commit comments

Comments
 (0)