-
Notifications
You must be signed in to change notification settings - Fork 152
Description
EDIT: Cause found
TLDR: See the last comment and the linked issue. DNS was partially malfunctioning. Other programs and Code compiled by source weren't affected. I am confused still in settings why agents show code-gpt and -codex are not installed, even though I'm able to use these models now, and claude and gemini show enabled but I've never installed a custom agent for them.
What version of Code is running?
code 0.4.4
Which model were you using?
GPT-5-Codex (high)
What platform is your computer?
Linux 6.17.5-arch1-1 x86_64 unknown
What steps can reproduce the bug?
- Install OpenAI Codex CLI v0.50.0
- Run
codexand configure it to use an OpenAI account (not the API.) - Observe that Codex CLI works fine, and that
~/codex/auth.jsoncontainsid_token,access_token,refresh_token, andaccount_id. - Install @just-every/code v0.4.4.
- Run
code. - Observe the banner says:
Code • Model: GPT-5-Codex • Reasoning: high • Directory: /mnt/... - Type
helloand press enter.
What is the expected behavior?
I expect to get a response back like Hey there! What can I help you with today?
What do you see instead?
- Type
helloand press enter. ObserveThinking... - After a number of seconds, observe
stream error: error sending request for url (https://chatgpt.com/backend-api/codex/responses); retrying 1/5 in 217ms, then2/5 in 363ms,3/5 in 728ms,4/5 in 1.697s,5/5 in 3.157s, anderror sending request for url (https://chatgpt.com/backend-api/codex/responses). - Run
settings, and observe Model showsModel: gpt-5-codex Effort: High. - Enter Agents, and observe that
code-gpt-5-codexandcode-gpt-5saynot installed Enter to install. - Observe
Terminal - Install code-gpt-5-codex\nRunning... Preparing install assistant...After a number of seconds, observeInstall helper error: model stream failed. After several minutes of retries, I hitEscandCtrl+C. - Run
curl 'https://chatgpt.com/backend-api/codex/responses', and observe{"detail":"Method Not Allowed"}. This of course isn't posting the required data so also gets an error, but shows connecting to the endpoint is fine.
Additional information
I have a straightforward networking setup. (No VPNs, etc.)
I also tried running OPENAI_WIRE_API=chat code but it had no effect.
I'm a little surprised that a fork of OpenAI Codex CLI needs something extra to be installed to use code-gpt-5-codex, but that's not a big deal.