跳到正文
原文
Claude Platform release notes·· 2026-05-13AI 评分38

Anthropic 为 Claude API 推出缓存诊断公开测试版

May 13, 2026

AI 导读

Anthropic 在 Claude API 上线缓存诊断公开测试版,请求中传入 diagnostics.previous_message_id 后,API 会返回 cache_miss_reason,说明提示词缓存前缀在何处与上一轮发生偏离。使用该功能需在请求中带上 cache-diagnosis-2026-04-07 beta header。

来源:Claude Platform release notes · platform.claude.com