Claude 平台推出缓存诊断功能定位命中失败原因
导读
Claude 平台新增缓存诊断能力,用于解释提示词缓存上一轮命中、这一轮却未命中的原因。用户传入上一次响应的 id 后,API 会对比两次请求,并指出第一个发生变化的地方。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
Advent of Claude 2026 - Day 2 - Claude Platform - Cache diagnostics
Your prompt cache hit on the last turn and misses on this one, and nothing in usage says why. Pass the id of your previous response and the API compares the two requests, then names the first thing that changed
出处
- A 权威X @adocomplete · RSS阅读原文 ↗
Advent of Claude 2026 - Day 2 - Claude Platform - Cache diagnostics