Repository navigation
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.
问题与修复
“继续聊”已使用
react-markdown,但未启用 GFM,模型返回的管道表格无法按表格渲染。remark-gfm,使历史消息和新回复支持表格、任务列表和删除线。remark-gfm及其 17 个传递条目,未修改或升级既有包条目。范围与安全
本 PR 独立基于上游
main,不依赖推理强度设置 PR。不包含 Docker 配置、本地部署文件、Windows 安装包或其他业务改动。保留
react-markdown默认安全处理,不启用原始 HTML,不放行javascript:或data:链接。实际验证
bun test --no-env-file --cwd frontend ./tests/personal-agent-markdown.test.tsx:5 项通过。bun --no-env-file run check --publish never:最终退出码 0;后端 540 项、前端 Node 22 项及 Bun 27 项测试通过;类型、架构边界、ESLint、API/Web/Electron 构建和 Windows 未安装目录打包通过。scrollLeft=80),页面无横向溢出。aria-describedby均指向各自消息。git diff --check通过。验证未调用真实模型或访问真实用户资料;既有非阻塞 ESLint 警告和 Vite 分块体积警告不在本 PR 范围。
界面截图
截图使用合成对话数据。