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

Anthropic Claude API 推出缓存诊断 beta 功能

May 13, 2026

阅读原文

本站未展示全文,请前往来源网站阅读。

AI 导读

Anthropic 在 Claude API 上线缓存诊断 beta 功能,请求时传入 diagnostics.previous_message_id,API 会返回 cache_miss_reason,说明提示词缓存前缀与上一轮在何处出现分歧。使用该功能需在请求中带上 cache-diagnosis-2026-04-07 beta header。

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