Function: anthropicCacheDirective()
anthropicCacheDirective(
ttl?):object
Defined in: packages/core/src/prompt-cache.ts:128
Wire shape @ai-sdk/anthropic accepts. ttl is omitted unless requested.
Parameters
ttl?
Returns
object
ttl?
optionalttl?:AnthropicCacheTtl
type
type:
"ephemeral"