Skip to content

applyPromptCache

function applyPromptCache(input): ApplyPromptCacheResult;

Single wiring point for provider prompt caching. Volatile system blocks are always appended after the stable head — even on non-Anthropic paths — so ordering is a contract of this function, not of call-site accident.

Parameter Type

input

ApplyPromptCacheInput

ApplyPromptCacheResult