Odd "citeturn5view0turn6view0" 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.:
"citeturn2shell0turn10view0"

What steps can reproduce the bug?

Uploaded thread: 019a4241-b42f-77c2-a6ad-11c249cc3327

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

11 Comments

github-actions[bot] contributor · 8 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5584
  • #5107
  • #4759
  • #5961

Powered by Codex Action

vim-zz · 8 months ago

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" />

lionelchg contributor · 8 months ago

Seeing this issue in the past few days as well: here are screenshots of what I am seeing in my terminal

  • when codex outputs some code references

<img width="1210" height="175" alt="Image" src="https://github.com/user-attachments/assets/f4b9a54a-fed2-41ce-969c-5721e2401480" />

  • when using web search

<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: citeturn1search0 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:

  • Perform a web search
  • Ask codex to explain a codebase for example the codex-rs directory

and look at what is outputted in the terminal

lionelchg contributor · 8 months ago

@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 .jsonl files does it rather indicate something off with the latter?

joshka · 8 months ago

@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.

lionelchg contributor · 8 months ago

@joshka the examples above are with gpt-5.1-codex so the issue still persists even with the model upgrade

PaulRBerg · 7 months ago

Still 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 --search or features.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.

sayan-oai contributor · 6 months ago

Thanks for reporting. A fix was rolled out, please update here if you are still seeing this issue.

seriouscatsoserious · 5 months ago

Still getting this issue as of today

nieomylnieja · 2 months ago

@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" />

joshka · 2 months ago

You may get better traction opening a new issue and following the process for submitting feedback from codex.