codex icon indicating copy to clipboard operation
codex copied to clipboard

Odd "citeturn5view0turn6view0" placeholders in generated text

Open joshka opened this issue 3 months ago • 7 comments

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

joshka avatar Nov 02 '25 02:11 joshka

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

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

Powered by Codex Action

github-actions[bot] avatar Nov 02 '25 02:11 github-actions[bot]

I use JetBrainsMono Nerd Font Mono and it looks likes this

Image

vim-zz avatar Nov 07 '25 12:11 vim-zz

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
Image
  • when using web search
Image

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:

Image

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 avatar Nov 17 '25 00:11 lionelchg

@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 avatar Nov 17 '25 00:11 lionelchg

@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 avatar Nov 17 '25 02:11 joshka

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

lionelchg avatar Nov 17 '25 16:11 lionelchg

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.

Image

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.

PaulRBerg avatar Dec 16 '25 10:12 PaulRBerg