You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Collapsible thinking steps with AI-generated summary titles to reduce Desktop lag (inspired by Trae) #29212
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
English:
Is your feature request related to a problem? Please describe.
The OpenCode Desktop app experiences noticeable lag when the "thinking process" output grows long. Rendering a massive, permanently expanded text block consumes resources and makes the UI sluggish. Additionally, even when expanded, it is hard to quickly understand what the model is currently doing without reading through the full output.
Describe the solution you'd like
I would like the thinking process section to be:
Collapsible – so that by default only a compact representation is shown, improving rendering performance and reducing UI clutter, similar to how Trae handles it.
Summarized with a short AI-generated title – the collapsed state should display a brief, dynamic summary (e.g., "Searching codebase for API definitions", "Analyzing error logs", "Structuring response") generated by the model itself, indicating what it is currently working on. This way users can monitor progress at a glance without needing to expand the full text.
These changes would drastically improve the Desktop experience, especially during long reasoning chains.
Additional context
Screenshots comparing the two interfaces:
OpenCode Desktop (current) – Thinking process fully expanded, causing lag and lacking summaries.
Trae (desired behavior) – Thinking steps are collapsed by default, each showing a concise summary of the current task.
Activity
github-actions commentedon May 25, 2026
This issue might be a duplicate of existing issues. Please check:
greatzhb commentedon Jul 11, 2026
+1 到此。正在使用 zhipuai-coding-plan / glm-5.2,它在每个回复中都会流式传输
reasoning_content。目前思考过程被渲染为一个永久的展开灰色文本块(packages/session-ui/src/components/message-part.tsx中的ReasoningPartDisplay,没有Collapsible包装器),这使得长会话难以阅读,且在桌面端会导致卡顿。拥有折叠/展开功能(即使没有 AI 生成的标题)也会是一个巨大的改进。很高兴看到这个问题已被分配处理。
github-actions commentedon Sep 10, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.