Skip to main content

Function: countContentCacheBreakpoints()

countContentCacheBreakpoints(messages?): number

Defined in: packages/core/src/prompt-cache.ts:250

File / image / other content-part stamps already on the converted messages. These are optional breakpoints the caller opted into; they still consume the Anthropic cap.

Parameters

messages?

Record<string, unknown>[] | null

Returns

number