CachePointBlock
Defined in: src/types/messages.ts:353
Cache point block for prompt caching. Marks a position in a message or system prompt where caching should occur.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CachePointBlock(data): CachePointBlock;Defined in: src/types/messages.ts:364
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | CachePointBlockData |
Returns
Section titled “Returns”CachePointBlock
Properties
Section titled “Properties”readonly type: "cachePointBlock";Defined in: src/types/messages.ts:357
Discriminator for cache point.
cacheType
Section titled “cacheType”readonly cacheType: "default";Defined in: src/types/messages.ts:362
The cache type. Currently only ‘default’ is supported.