New lines displayed after every word
Resolved 💬 2 comments Opened Dec 14, 2025 by anujvns2007 Closed Dec 16, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.72.0
What subscription do you have?
None
Which model were you using?
ollama gpt-oss
What platform is your computer?
Linux, Mac
What issue are you seeing?
Whenever running codex and asking question, it returns each word in separate lines like below:
› hi how are you
• Hi! I’m good, thanks. Let me know what you’d like to work on.
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• Hi
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• !
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• I
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• ’m
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• good
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• ,
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• thanks
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• .
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• Let
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• me
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• know
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• what
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• you
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• ’d
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• like
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• to
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• work
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• on
─ Worked for 3s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• .
─ Worked for 3s ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
What steps can reproduce the bug?
Runn command like below:
codex --oss -m gpt-oss:latest
and ask any question. After answering everything it starts dumping final lines where it produces each word followed by line separator.
What is the expected behavior?
Summary text should be coming in single paragrah or line.
Additional information
_No response_
2 Comments
Are you using the latest version of ollama? I was seeing this with older versions but not with the latest.
I'll note that we've announced that the "chat" wire API is deprecated and will be removed in the near future. Please switch to the "responses" API. Ollama doesn't yet support this, but the maintainers are working on it. In the meantime, you might want to try LM Studio.
Thanks for response. I moved to LM Studio.