add gpt-5 to openai provider format (#3924)

This commit is contained in:
Matt Nicholson
2025-08-07 16:19:39 -05:00
committed by GitHub
parent e5e6522942
commit 16304121ef
+2 -1
View File
@@ -562,7 +562,8 @@ pub fn create_request(
));
}
let is_ox_model = model_config.model_name.starts_with("o");
let is_ox_model =
model_config.model_name.starts_with("o") || model_config.model_name.starts_with("gpt-5");
// Only extract reasoning effort for O1/O3 models
let (model_name, reasoning_effort) = if is_ox_model {