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
+4 -1
View File
@@ -1345,7 +1345,10 @@ mod tests {
"https://chatgpt.com/backend-api/codex"
),
Some((
"https://chatgpt.com/backend-api/codex/models?client_version=0.153.3".to_string(),
format!(
"https://chatgpt.com/backend-api/codex/models?client_version={}",
aether_ai_formats::CODEX_CLIENT_VERSION
),
"openai:responses".to_string()
))
);
+4 -1
View File
@@ -991,7 +991,10 @@ mod tests {
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("authorization").map(String::as_str),