Skip to content

ApplyPromptCacheInput

messages: ModelMessage[];

model: unknown;

optional providerOptions?: Record<string, Record<string, JSONValue>>;

sessionId: string;

optional stableSystem?: SystemModelMessage[];

Stable system prefix (persona, node instructions). Receives the system breakpoint.


optional tools?: ToolSet;

optional volatileSystemBlocks?: (string | undefined)[];

Volatile blocks appended AFTER the system breakpoint (retrieval, memory, run notes).