mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 08:21:35 +00:00
[AI-assisted] docs(reference): fix broken Anthropic prompt-caching docs URL (#114028)
The prompt-caching pricing reference in docs/reference/token-use.md linked to docs.anthropic.com/docs/build-with-claude/prompt-caching. After Anthropic's docs migration to platform.claude.com, that URL 301-redirects in an infinite loop (browsers surface ERR_TOO_MANY_REDIRECTS). Point it at the current canonical page, which returns HTTP 200 and still documents the cache read/write pricing and 1h/5m TTL multipliers that the surrounding paragraph references.
This commit is contained in:
@@ -212,7 +212,7 @@ For a full knob-by-knob guide, see [Prompt Caching](/reference/prompt-caching).
|
||||
For Anthropic API pricing, cache reads are significantly cheaper than input
|
||||
tokens, while cache writes are billed at a higher multiplier. See Anthropic's
|
||||
prompt caching pricing for the latest rates and TTL multipliers:
|
||||
[https://docs.anthropic.com/docs/build-with-claude/prompt-caching](https://docs.anthropic.com/docs/build-with-claude/prompt-caching)
|
||||
[https://platform.claude.com/docs/en/build-with-claude/prompt-caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)
|
||||
|
||||
### Example: keep 1h cache warm with heartbeat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user