codex - 💡(How to fix) Fix Getting responses in JSON [3 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17597Fetched 2026-04-14 05:42:40
View on GitHub
Comments
3
Participants
4
Timeline
14
Reactions
0
Author
Timeline (top)
labeled ×4commented ×3mentioned ×2subscribed ×2
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro

Which model were you using?

GPT-5.4

What platform is your computer?

Darwin 25.1.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Ghostty in Cmux

What issue are you seeing?

Model responds to me in JSON, as if it forgot to sanitize the response.

What steps can reproduce the bug?

Uploaded thread: 019d8528-7284-7531-a593-bc77b03938f2

What is the expected behavior?

No response

Additional information

No response

extent analysis

TL;DR

The issue might be resolved by checking the response parsing logic or configuration for the GPT-5.4 model in the Codex CLI version 0.120.0.

Guidance

  • Verify that the response from the GPT-5.4 model is correctly parsed and sanitized in the Codex CLI.
  • Check the documentation for the Codex CLI version 0.120.0 to see if there are any known issues or configuration options related to response sanitization for the GPT-5.4 model.
  • Review the uploaded thread 019d8528-7284-7531-a593-bc77b03938f2 for any clues about the issue.
  • Consider testing with a different model or version to isolate the issue.

Notes

The issue seems to be specific to the GPT-5.4 model and the Codex CLI version 0.120.0, so any solution or workaround may depend on the specifics of these components.

Recommendation

Apply workaround: Given the information provided, it's unclear if an upgrade is available or would fix the issue, so applying a workaround, such as manually sanitizing the response or adjusting the model configuration, might be the most practical approach.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING