Repository navigation
Conversation
This was referenced Oct 27, 2026
Open
ana52070
force-pushed
the
feat/chat-auto-collapse-1036-1038
branch
from
November 11, 2026 14:57
f2407a1 to
dd85ba4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
长任务中,技能加载、命令执行和工具调用会产生大量过程记录。当前轮次的过程持续展开时,用户需要反复滚动才能回看关键对话和最终结论。#1036 希望默认折叠调用过程,或在执行结束后自动折叠;#1038 希望通过设置控制过程记录的展示密度。
改动
在“设置 → 通用”中新增“聊天过程详情”,提供三种模式:
复用现有的整轮过程容器,只控制展示,不改变 Agent 的执行或保存的会话内容。最终回答保持可见;未恢复的错误、待用户确认的操作,以及没有独立最终回答的工具结果不会被自动折叠遮住。
设置保存在本地,适用于已有和新会话,并同步到同一来源的其他窗口。历史轮次的手动展开选择在虚拟列表重新挂载后保留。新增文案覆盖现有 10 种语言。
本次集中处理两个 issue 共同提出的过程折叠需求,不增加聊天大纲或独立的事件隐藏层级。
测试与重组说明
Note
此次基于最新 upstream/main 重新整理为单 commit(移除了端口修复及对应测试),未在本地执行编译、构建与测试;旧 CI 记录属于历史 SHA,不能宣称覆盖新 SHA。
cargo test --no-run)并执行 Clippy。Closes #1036
Closes #1038