Odd "citeturn5view0turn6view0" placeholders in generated text
Resolved 💬 11 comments Opened Nov 2, 2025 by joshka Closed Jan 14, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
v0.53.0
What subscription do you have?
Pro
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
Saw a bunch of odd placeholder junk: E.g.:
"citeturn2shell0turn10view0"
What steps can reproduce the bug?
Uploaded thread: 019a4241-b42f-77c2-a6ad-11c249cc3327
What is the expected behavior?
_No response_
Additional information
_No response_
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I use JetBrainsMono Nerd Font Mono and it looks likes this
<img width="567" height="42" alt="Image" src="https://github.com/user-attachments/assets/12580499-6e5c-430c-94be-a9dc519aa2ef" />
Seeing this issue in the past few days as well: here are screenshots of what I am seeing in my terminal
codexoutputs some code references<img width="1210" height="175" alt="Image" src="https://github.com/user-attachments/assets/f4b9a54a-fed2-41ce-969c-5721e2401480" />
<img width="1121" height="240" alt="Image" src="https://github.com/user-attachments/assets/baa8f5c4-e690-4bb7-b270-7f63341523f4" />
When copy pasting directly inside a text editor it displays as: citeturn1search0 but inside VSCode it displays as in the terminal when looking at the session logs:
<img width="733" height="346" alt="Image" src="https://github.com/user-attachments/assets/62ef512c-b14e-4e8b-8e64-80e7bfebd859" />
What steps can reproduce the bug?
It does not happen consistently but to trigger this you can either:
codexto explain a codebase for example thecodex-rsdirectoryand look at what is outputted in the terminal
@etraut-openai is it something related to the display or the raw output of the model? If I'm seeing this in my session logs as in the
.jsonlfiles does it rather indicate something off with the latter?@lionelchg My best bet without having looked much further that this is that it's the something not being escaped right from the model's output tokens. Try running gpt-5.1-codex and seeing if you're still seeing the problem. I've only seen this once, so it's logged mostly so that there's a session to help with any future diagnosis needed here.
@joshka the examples above are with
gpt-5.1-codexso the issue still persists even with the model upgradeStill seeing this on codex-cli 0.73.0 (macOS Tahoe 26.1) in Warp
v0.2025.12.10.08.12.stable_03.Trigger: enable web search (
codex --searchorfeatures.web_search_request=true) and ask for anything that returns citations.Actual: the terminal output sometimes includes the raw citation placeholders (PUA chars), e.g.
<img width="479" height="198" alt="Image" src="https://github.com/user-attachments/assets/2cdd8926-d406-4850-82e3-9c65fecd3665" />
This shows up inline in Warp output and also pollutes copy/paste.
Expected: citations are rendered (e.g. footnotes/links) or stripped from the plain-text stream.
Thanks for reporting. A fix was rolled out, please update here if you are still seeing this issue.
Still getting this issue as of today
@sayan-oai Still seeing this issue with codex CLI 0.130.0 and GPT-5.5
<img width="1795" height="661" alt="Image" src="https://github.com/user-attachments/assets/a31a79a0-3d7b-4342-8f79-758d09e75f5c" />
You may get better traction opening a new issue and following the process for submitting feedback from codex.