bug(cli): hide internal SSE parser stack trace on parse errors
Resolved 💬 1 comment Opened Apr 18, 2025 by Suyash-K Closed Apr 19, 2025
What version of Codex is running?
Latest
Which model were you using?
o4-mini, gpt-4o
What platform is your computer?
Windows
What steps can reproduce the bug?
Describe the bug
When an SSE parsing error occurs (e.g. insufficient_quota), the CLI prints the raw bundled code around NEWLINE_REGEXP… (dist/cli.js:449), which is noise and not actionable for end users.
To Reproduce
- Install the latest @openai/codex CLI on Windows/macOS/Linux.
- Trigger a quota error (e.g., exhaust your plan).
- Observe the console: you’ll see the low‑level parser code before the error message.
What is the expected behavior?
Expected Behavior
Only a concise system warning should appear instead of confusing and unactionable messages
What do you see instead?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗