chore(codex): bump default client version to 0.153.4

This commit is contained in:
elky
2026-09-06 19:58:35 +08:00
parent d1b5eb08ee
commit b5ed802277
7 changed files with 37 additions and 17 deletions
@@ -421,7 +421,7 @@ async fn gateway_executes_codex_image_stream_via_local_decision_gate_after_oauth
);
assert_eq!(
seen_execution_runtime_request.headers["user-agent"],
"codex_cli_rs/0.153.3"
aether_ai_formats::CODEX_CLIENT_USER_AGENT
);
assert_eq!(
seen_execution_runtime_request.headers["originator"],
@@ -1119,7 +1119,7 @@ async fn gateway_executes_codex_image_sync_via_local_decision_gate_after_oauth_r
);
assert_eq!(
seen_execution_runtime_request.headers["user-agent"],
"codex_cli_rs/0.153.3"
aether_ai_formats::CODEX_CLIENT_USER_AGENT
);
assert_eq!(
seen_execution_runtime_request.headers["originator"],
@@ -558,7 +558,10 @@ async fn gateway_recovers_codex_slug_only_models_from_a_stale_legacy_cache_impl(
.expect("mutex should lock") += 1;
assert_eq!(
plan.url,
"https://chatgpt.com/backend-api/codex/models?client_version=0.153.3"
format!(
"https://chatgpt.com/backend-api/codex/models?client_version={}",
aether_ai_formats::CODEX_CLIENT_VERSION
)
);
assert_eq!(
plan.headers.get("user-agent").map(String::as_str),
@@ -759,7 +762,10 @@ async fn gateway_handles_admin_provider_query_models_falls_back_to_codex_preset_
.expect("mutex should lock") += 1;
assert_eq!(
plan.url,
"https://chatgpt.com/backend-api/codex/models?client_version=0.153.3"
format!(
"https://chatgpt.com/backend-api/codex/models?client_version={}",
aether_ai_formats::CODEX_CLIENT_VERSION
)
);
Json(json!({
"request_id": "req-provider-query-codex-invalidated",