Odd "citeturn5view0turn6view0" placeholders in generated text
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
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #5584
- #5107
- #4759
- #5961
Powered by Codex Action
I use JetBrainsMono Nerd Font Mono and it looks likes this
Seeing this issue in the past few days as well: here are screenshots of what I am seeing in my terminal
- when
codexoutputs some code references
- when using web search
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:
What steps can reproduce the bug?
It does not happen consistently but to trigger this you can either:
- Perform a web search
- Ask
codexto explain a codebase for example thecodex-rsdirectory
and 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 .jsonl files 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-codex so the issue still persists even with the model upgrade
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.
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.