Can I toggle the thinking content (cot) in the tui? sometimes it's just too long and takes too much space

Resolved 💬 2 comments Opened Aug 12, 2025 by 88gravessong Closed Oct 18, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

actually I think the TUI of rust version is way worse than ts version yet, hope you guys fix it soon!

View original on GitHub ↗

2 Comments

5ocworkshop · 1 year ago

There is a ton of potential to have quite an elegant and multi-pane UI using the ratatui framework. At the moment, likely to ease transition, they have chosen to present the UI to be nearly identical to the 'ink' UI of the typescript version.

My hope is that they, or someone in the community, will offer a presentation layer that really takes advantage of all that ratatui can provide. To get a sense, see the gallery here:
https://ratatui.rs/showcase/apps/

Or here is an example of a tool I made for my own use:

<img width="2543" height="1321" alt="Image" src="https://github.com/user-attachments/assets/a01b122a-ee06-4868-974a-245a5c13a7c1" />

Here is an example of toggling the content preview and the tool output, in this case I clicked on the git commit in the log window at the bottom, but it usually has the compile/test tool output here.

<img width="2532" height="1338" alt="Image" src="https://github.com/user-attachments/assets/e49119f5-a040-4ad4-a9d1-d38c69047132" />

tibo-openai collaborator · 10 months ago

We've vastly improved this. There is now also a transcript mode that shows the full trace. Please open a new issue if there is more you think we can do here. Great news is that the ratatui maintainer @joshka-oai joined the codex team full time :)