Property CacheBreakpoint

Assembly: redb.Route.Llm.dll

Ask the provider to place a prompt-cache breakpoint after this message: everything
rendered up to and including it (tools, system, the messages before it, this one) becomes a
cacheable prefix that later requests re-read instead of re-paying.
Meant for a byte-stable preamble that opens every conversation — a fixed opening
exchange, a few-shot block — placed via . The
system-prompt breakpoint () stops at the system
block; without a second one, a preamble sitting in messages is billed in full on
every turn. Same rules as the system-prompt cache: the prefix must not change a byte, there
is a model-dependent length floor, and providers without a cache concept ignore the flag.
Anthropic allows four breakpoints per request; the system one, when asked for, is the
first.

public bool CacheBreakpoint { get; init; }