fix: update Codex executor for gpt-5.3-codex support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
apple-techie
2026-02-12 18:12:38 +07:00
committed by decolua
co-authored by Cursor
parent 9c9af25acd
commit d7d5dc90bc
5 changed files with 60 additions and 14 deletions
+2 -3
View File
@@ -39,9 +39,8 @@ export const PROVIDERS = {
baseUrl: "https://chatgpt.com/backend-api/codex/responses",
format: "openai-responses", // Use OpenAI Responses API format (reuse translator)
headers: {
"Version": "0.92.0",
"Openai-Beta": "responses=experimental",
"User-Agent": "codex-cli/0.92.0 (Windows 10.0.26100; x64)"
"originator": "codex-cli",
"User-Agent": "codex-cli/1.0.18 (macOS; arm64)"
},
// OpenAI OAuth configuration
clientId: "app_EMoamEEZ73f0CkXaXp7hrann",