PromptCacheBreakpointConfig interface

Marks the exact end of a reusable prompt prefix. When ttl is omitted, the breakpoint inherits the request's prompt_cache_options.ttl; the boundary is not rounded to a token block.

Properties

mode

The breakpoint mode. Always explicit.

ttl

The minimum lifetime of this cache breakpoint. Defaults to the request TTL.

Property Details

mode

The breakpoint mode. Always explicit.

mode: "explicit"

Property Value

"explicit"

ttl

The minimum lifetime of this cache breakpoint. Defaults to the request TTL.

ttl?: "30m" | "12h"

Property Value

"30m" | "12h"