mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
Update models.json (#18586)
- Replace the active models-manager catalog with the deleted core catalog contents. - Replace stale hardcoded test model slugs with current bundled model slugs. - Keep this as a stacked change on top of the cleanup PR.
This commit is contained in:
@@ -105,10 +105,10 @@ fn configure_shell_model(
|
||||
) -> TestCodexBuilder {
|
||||
let builder = match (output_type, include_apply_patch_tool) {
|
||||
(ShellModelOutput::ShellCommand, _) => builder.with_model("test-gpt-5-codex"),
|
||||
(ShellModelOutput::LocalShell, true) => builder.with_model("gpt-5.1-codex"),
|
||||
(ShellModelOutput::Shell, true) => builder.with_model("gpt-5.1-codex"),
|
||||
(ShellModelOutput::LocalShell, false) => builder.with_model("codex-mini-latest"),
|
||||
(ShellModelOutput::Shell, false) => builder.with_model("gpt-5"),
|
||||
(ShellModelOutput::LocalShell, true) => builder.with_model("gpt-5.4"),
|
||||
(ShellModelOutput::Shell, true) => builder.with_model("gpt-5.4"),
|
||||
(ShellModelOutput::LocalShell, false) => builder.with_model("test-local-shell-json"),
|
||||
(ShellModelOutput::Shell, false) => builder.with_model("test-shell-json"),
|
||||
};
|
||||
|
||||
builder.with_config(move |config| {
|
||||
@@ -717,7 +717,7 @@ async fn shell_output_is_structured_for_nonzero_exit(output_type: ShellModelOutp
|
||||
|
||||
let server = start_mock_server().await;
|
||||
let mut builder = test_codex()
|
||||
.with_model("gpt-5.1-codex")
|
||||
.with_model("gpt-5.4")
|
||||
.with_config(move |config| {
|
||||
config.include_apply_patch_tool = true;
|
||||
});
|
||||
@@ -808,7 +808,7 @@ async fn shell_command_output_is_not_truncated_under_10k_bytes() -> Result<()> {
|
||||
skip_if_no_network!(Ok(()));
|
||||
|
||||
let server = start_mock_server().await;
|
||||
let mut builder = test_codex().with_model("gpt-5.1");
|
||||
let mut builder = test_codex().with_model("gpt-5.4");
|
||||
let test = builder.build(&server).await?;
|
||||
|
||||
let call_id = "shell-command";
|
||||
@@ -859,7 +859,7 @@ async fn shell_command_output_is_not_truncated_over_10k_bytes() -> Result<()> {
|
||||
skip_if_no_network!(Ok(()));
|
||||
|
||||
let server = start_mock_server().await;
|
||||
let mut builder = test_codex().with_model("gpt-5.1");
|
||||
let mut builder = test_codex().with_model("gpt-5.2");
|
||||
let test = builder.build(&server).await?;
|
||||
|
||||
let call_id = "shell-command";
|
||||
@@ -910,11 +910,9 @@ async fn local_shell_call_output_is_structured() -> Result<()> {
|
||||
skip_if_no_network!(Ok(()));
|
||||
|
||||
let server = start_mock_server().await;
|
||||
let mut builder = test_codex()
|
||||
.with_model("gpt-5.1-codex")
|
||||
.with_config(|config| {
|
||||
config.include_apply_patch_tool = true;
|
||||
});
|
||||
let mut builder = test_codex().with_model("gpt-5.4").with_config(|config| {
|
||||
config.include_apply_patch_tool = true;
|
||||
});
|
||||
let test = builder.build(&server).await?;
|
||||
|
||||
let call_id = "local-shell-call";
|
||||
|
||||
Reference in New Issue
Block a user