跳到正文
AgentLab·· 19 天前

Oh My Pi 18.2.6: 稳定 Anthropic Prompt 缓存,并修复 Windows 凭据读取与剪贴板粘贴

AgentLab 分析摘要

Anthropic Provider 调整缓存断点候选与稳定系统指纹,排除易变的 Memory Recall 后缀;Recall 刷新因此只需重新计费后缀,避免反复重算工具与 System Prompt 头部。相关实现位于 `packages/ai/src/providers/anthropic.ts`,同时 `hindsight/state.ts` 和 `mnemopi/state.ts` 移除了 Recall 块中分钟级变化的时间戳。认证配置读取改用 `node:fs`,剪贴板文本与图片读取并发执行,分别改善 Windows 上凭据可用性与空剪贴板粘贴响应。Runtime Prompt 与 Tool Schema 相邻比较未变化;Static Prompt 比较不可用。

分析与证据

分析已完成

AgentLab · omp 18.2.6

来源:AgentLab · agentlab.dairui1.com