修复一个系统信息被错误展示给用户bug#628
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
| } | ||
| message := a.activeMessages[idx] | ||
| // 跳过 system 角色消息,避免系统提醒被渲染为 assistant 回复 | ||
| if message.Role == roleSystem { |
There was a problem hiding this comment.
message.Role == roleSystem is broader than the bug you are trying to suppress. system messages are also used for transcript inline logs and decision/verify/tool entries, so this change removes the content that should become visible after expanding a folded process segment. Existing tests already cover this regression (TestTranscriptEnterTogglesFoldedProcessVisibility and TestTranscriptMouseClickFoldPlaceholderExpandsProcess both fail with this patch). Filter only the unintended system notice shape here instead of dropping every system message.
|
@xgopilot 给我修复编译错误问题 |
已完成已把修复提交并推送到当前 PR 分支 本次处理内容:
验证结果:
未处理项:
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
No description provided.