mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
Change model picker to include gpt5.1 (#6569)
- Change the presets - Change the tests that make sure we keep the list of tools updated - Filter out deprecated models
This commit is contained in:
@@ -140,10 +140,10 @@ async fn model_selects_expected_tools() {
|
||||
"update_plan".to_string(),
|
||||
"apply_patch".to_string()
|
||||
],
|
||||
"gpt-5-codex should expose the apply_patch tool",
|
||||
"gpt-5.1-codex should expose the apply_patch tool",
|
||||
);
|
||||
|
||||
let gpt51_tools = collect_tool_identifiers_for_model("gpt-5-codex").await;
|
||||
let gpt51_tools = collect_tool_identifiers_for_model("gpt-5.1").await;
|
||||
assert_eq!(
|
||||
gpt51_tools,
|
||||
vec![
|
||||
@@ -154,6 +154,6 @@ async fn model_selects_expected_tools() {
|
||||
"update_plan".to_string(),
|
||||
"apply_patch".to_string()
|
||||
],
|
||||
"gpt-5-codex should expose the apply_patch tool",
|
||||
"gpt-5.1 should expose the apply_patch tool",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user