fix(ai): 精简对话界面并优化过程与用量展示 - #147
Merged
2977094657 merged 1 commit intoSep 16, 2026
Merged
2977094657 merged 1 commit into
2977094657 merged 1 commit into
Conversation
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.
AI 对话的执行过程存在重复信息、无新增内容的展开项和多层缩进;完成后的用量信息分散在过程区域,群聊和单聊也缺少醒目的头像标识。本次调整让过程与正文更紧凑,并将最终统计统一放到文末复制按钮右侧。
主要调整
验证
npx vitest run tests/agent-*.test.js tests/assistant-thread.test.js tests/chat-agent.test.js,16 个文件、174 项测试通过。npm run generate。git diff --check通过。基于上游 main 的
57f84d3,仅包含 AI 对话前端组件、样式及相关测试。