Skip to content

feat: 提示词分层缓存与审查项修复 - #123

Merged
error2913 merged 1 commit into
mainfrom
codex/prompt-cache-refactor
Aug 17, 2026
Merged

feat: 提示词分层缓存与审查项修复#123
error2913 merged 1 commit into
mainfrom
codex/prompt-cache-refactor

Conversation

@error2913

Copy link
Copy Markdown
Owner

变更内容

  • 提示词分层缓存:静态壳 + 动态段(当前时间、长期记忆、总结记忆、知识库)
  • 修复异步链路未处理 rejection
  • token 估算、消息净化、私有记忆展示文案等审查项修复
  • 记忆/总结/知识库变更时主动失效缓存

验证

  • npx tsc --noEmit 通过
  • npm run lint 通过
  • 海豹测试群实测:.ai status/help/tool/prompt 正常,日志确认占位符渲染正常

说明

未修改发布版本号,未提交 dist。

引入 prompt 静态壳/动态段缓存,降低重复检索与 embedding 开销;补齐异步链路 catch、token 估算、消息净化、私有记忆文案等审查修复。
@error2913
error2913 merged commit 130b1a3 into main Aug 17, 2026
1 check passed
@error2913
error2913 deleted the codex/prompt-cache-refactor branch August 17, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant