Codex is not working - "stream error: stream disconnected before completion...
What version of Codex is running?
0.7.0
Which model were you using?
o3, gpt-4.1
What platform is your computer?
Linux 6.15.6-arch1-1 x86_64 unknown
What steps can reproduce the bug?
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The same on MacOS
https://grok.com/share/bGVnYWN5_291468fe-b9cd-44a4-928e-dbc5be3b4542
doesn't help
It looks like process_sse in client.rs does not handle "error" and "response.failed" SSE events, which seem to be sent if the API key is not valid.
@davidhewitt I believe this was fixed by https://github.com/openai/codex/pull/1649, so try 0.9.0? /cc @pakrym-oai
Yep definitely looks better on 0.9.0, the error gets logged now 👍
@davidhewitt thanks for verifying! Closing.