Function: coalesceCacheControl()
coalesceCacheControl(
opts):CacheControlOption|undefined
Defined in: packages/core/src/prompt-cache.ts:81
Coalesce the three caller knobs. Precedence: cache (including false),
then cacheControl (including false), then construction-time model
config, then the enableCaching: true shorthand.
Parameters
opts
cache?
cacheControl?
enableCaching?
boolean
modelCacheControl?
Returns
CacheControlOption | undefined