CacheControl
Cache control configuration for prompt caching. Indicates that the LLM provider should cache content up to and including the element this is attached to.
Each LLM provider defines its own supported cache control options as nested sealed interfaces.
Inheritors
Types
Functions
Link copied to clipboard
Requires this CacheControl to be of the specified type T, or throws an IllegalStateException.