Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Update models.json (#19896)

github-actions[bot]aadcae9f3c2b
diff --git a/codex-rs/core/tests/suite/client.rs b/codex-rs/core/tests/suite/client.rs
index 432b57de9f..e72dfe3e1d 100644
--- a/codex-rs/core/tests/suite/client.rs
+++ b/codex-rs/core/tests/suite/client.rs
@@ -1680,7 +1680,7 @@ async fn includes_no_effort_in_request() -> anyhow::Result<()> {
.get("reasoning")
.and_then(|t| t.get("effort"))
.and_then(|v| v.as_str()),
- Some("xhigh")
+ Some("medium")
);
Ok(())
@@ -1722,7 +1722,7 @@ async fn includes_default_reasoning_effort_in_request_when_defined_by_model_info
.get("reasoning")
.and_then(|t| t.get("effort"))
.and_then(|v| v.as_str()),
- Some("xhigh")
+ Some("medium")
);
Ok(())
diff --git a/codex-rs/models-manager/models.json b/codex-rs/models-manager/models.json
index c025fe36ad..bd57d371b2 100644
--- a/codex-rs/models-manager/models.json
+++ b/codex-rs/models-manager/models.json
@@ -1,6 +1,6 @@
{
"models": [
- {
+ {
"prefer_websockets": true,
"support_verbosity": true,
"default_verbosity": "low",
@@ -82,6 +82,13 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [
+ {
+ "id": "priority",
+ "name": "Fast",
+ "description": "1.5x speed, increased usage"
+ }
+ ],
"additional_speed_tiers": [
"fast"
],
@@ -111,7 +118,7 @@
"slug": "gpt-5.4",
"display_name": "gpt-5.4",
"description": "Strong model for everyday coding.",
- "default_reasoning_level": "xhigh",
+ "default_reasoning_level": "medium",
"supported_reasoning_levels": [
{
"effort": "low",
@@ -164,6 +171,18 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [
+ {
+ "id": "priority",
+ "name": "Fast",
+ "description": "1.5x speed, increased usage"
+ },
+ {
+ "id": "ultrafast",
+ "name": "Ultrafast",
+ "description": "The fastest available responses for latency-sensitive work."
+ }
+ ],
"additional_speed_tiers": [
"fast"
],
@@ -249,6 +268,7 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [],
"additional_speed_tiers": [],
"supports_reasoning_summaries": true
},
@@ -332,6 +352,7 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [],
"additional_speed_tiers": [],
"supports_reasoning_summaries": true
},
@@ -411,6 +432,7 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [],
"additional_speed_tiers": [],
"supports_reasoning_summaries": true
},
@@ -491,6 +513,7 @@
"team"
],
"supports_search_tool": true,
+ "service_tiers": [],
"additional_speed_tiers": [],
"supports_reasoning_summaries": true
}
diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_reasoning_selection_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_reasoning_selection_popup.snap
index e527c14623..27c7d061ee 100644
--- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_reasoning_selection_popup.snap
+++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__model_reasoning_selection_popup.snap
@@ -4,10 +4,9 @@ expression: popup
---
Select Reasoning Level for gpt-5.4
- 1. Low Fast responses with lighter reasoning
- 2. Medium Balances speed and reasoning depth for everyday
- tasks
-› 3. High (current) Greater reasoning depth for complex problems
- 4. Extra high (default) Extra high reasoning depth for complex problems
+ 1. Low Fast responses with lighter reasoning
+ 2. Medium (default) Balances speed and reasoning depth for everyday tasks
+› 3. High (current) Greater reasoning depth for complex problems
+ 4. Extra high Extra high reasoning depth for complex problems
Press enter to confirm or esc to go back
diff --git a/codex-rs/tui/src/chatwidget/tests/status_command_tests.rs b/codex-rs/tui/src/chatwidget/tests/status_command_tests.rs
index fff328d190..c206313549 100644
--- a/codex-rs/tui/src/chatwidget/tests/status_command_tests.rs
+++ b/codex-rs/tui/src/chatwidget/tests/status_command_tests.rs
@@ -90,7 +90,7 @@ async fn status_command_uses_catalog_default_reasoning_when_config_empty() {
other => panic!("expected status output, got {other:?}"),
};
assert!(
- rendered.contains("gpt-5.4 (reasoning xhigh, summaries auto)"),
+ rendered.contains("gpt-5.4 (reasoning medium, summaries auto)"),
"expected /status to render the catalog default reasoning effort, got: {rendered}"
);
}