Repository navigation
Fix unresponsive UI during reasoning: show progress instead of blank screen - #8166
eric-distyl-ai wants to merge 3 commits into
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
d657aab to
cc2baf9
Compare
|
recheck |
Fixes an issue where the status would show "Working" for longer than necessary after flushing a reasoning section. By extracting the bold header from the buffer before clearing it, the status maintains the last meaningful header while waiting for the next section's content. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: gpt-5.2 <[email protected]>
Previously, reasoning summaries were marked transcript_only when the format wasn't Experimental, hiding them from the main chat view (only visible via Ctrl+T). Now they display in the main view regardless of format. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: gpt-5.2 <[email protected]>
Prior Art & Related IssuesClaude Code searched the repo for related attempts to fix this problem: Directly Related PRs
Related UI Responsiveness PRs
User-Reported Issues
External PerceptionWeb comparisons of Claude Code vs Codex CLI mention users experiencing "long periods where it feels like nothing is happening at all", which matches this PR's problem statement. TakeawayThe
|
| "".to_string(), | ||
| full_reasoning_buffer, | ||
| true, | ||
| false, |
There was a problem hiding this comment.
Tested applying only this fix (changing transcript_only from true to false) without the incremental flushing changes. Result: reasoning summaries still didn't appear in the main view in any timely manner—they only showed up at the end after reasoning completed. The incremental flushing (in chatwidget.rs) is necessary for the improved perceived responsiveness.
|
We've updated our contribution guidelines to clarify that we're currently accepting contributions for bugs and security fixes, but we're not generally accepting new features at this time. We need to make sure that all new features compose well with both existing and upcoming features and fit into our roadmap. If you would like to propose a new feature, please file or upvote an enhancement request in the issue tracker. We will generally prioritize new features based on community feedback. |
Problem
Codex appears frozen/unresponsive during reasoning - users see nothing happening for extended periods (30+ seconds) while the model thinks, leading to poor perceived latency. This has driven complaints on Twitter that "Claude Code feels faster" regardless of actual response times.
The root cause: reasoning content is accumulated silently in a buffer and only displayed after reasoning completes. Users stare at a static screen with no feedback.
Solution
Flush reasoning summary blocks to the UI immediately as they arrive rather than batching them until the end. This provides continuous visual feedback during long thinking periods.
Same prompt, same time elapsed, default settings
tui:
tui2:
Prompt:
Changes
full_reasoning_bufferTest plan
🤖 Generated with Claude Code
Co-Authored-By: gpt-5.2 [email protected]