Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

PromptCacheRetention.md

13 lines275 Bytes

type PromptCacheRetention = "none" | "short" | "long";

Defined in: packages/ai/src/types.ts:1266

How long the provider keeps the cached start of a request. 'none' turns automatic prompt caching off.