Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

fix: 在轨迹节点展示完整系统提示词正文 - #49

Merged
HyxiaoGe merged 1 commit into
masterfrom
fix/system-prompt-body
Aug 26, 2026
Merged

HyxiaoGe merged 1 commit into
masterfrom
fix/system-prompt-body

Conversation

@HyxiaoGe

Copy link
Copy Markdown
Owner

背景

系统提示词节点无法查看和复制当次实际组装正文。

改动

  • 节点默认打开正文页,保留完整段落与换行,支持复制全文。
  • 独立读取 Run 快照,支持旧记录、失败、重试与有限轮询。
  • 切换会话或 Run 时隔离迟到响应;正文不进入 Redux/Dexie。
  • 前后端详情状态保持一致,正文请求禁止缓存。

验证

  • 26 个相关测试文件共 308 项测试通过。
  • 目标 ESLint 与生产构建通过。
  • 全量类型检查仍有 37 项既有诊断,与上一版一致,未宣称全量类型检查通过。
  • 跨仓独立审查未发现 P0/P1;真实页面验收待 dev 部署后执行。

发布与风险

依赖 API 系统提示词详情接口,后端部署成功后再合入并部署 UI。旧 Run 明确提示未保存正文。

背景:
系统提示词节点仅显示组装元数据,无法查看和复制真实正文。

改动:
默认打开正文页,按顺序保留段落与换行并支持复制全文;通过独立接口读取历史快照,处理加载、旧记录、失败和重试,隔离切换 Run 后的迟到响应。正文不进入 Redux 或 Dexie,并禁止请求缓存。

验证:
26 个相关测试文件共 308 项测试通过,目标 ESLint 和生产构建通过;全量类型检查仍有 37 项既有诊断,与上一版一致。跨仓独立审查无 P0/P1,真实页面验收将在 dev 部署后执行。

Co-Authored-By: Codex <noreply@anthropic.com>
@HyxiaoGe HyxiaoGe closed this Aug 26, 2026
@HyxiaoGe HyxiaoGe reopened this Aug 26, 2026
@HyxiaoGe

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: cb4c23b773

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@HyxiaoGe
HyxiaoGe merged commit b65fe16 into master Aug 26, 2026
2 checks passed
@HyxiaoGe
HyxiaoGe deleted the fix/system-prompt-body branch August 26, 2026 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant