Skip to main content

Interface: SystemContentBlock

Defined in: packages/agentos/src/api/generateText.ts:143

A structured block of system prompt content with optional cache breakpoint. When cacheBreakpoint is true, providers that support prompt caching (e.g., Anthropic) will mark this block's boundary for caching.

Properties

cacheBreakpoint?

optional cacheBreakpoint: boolean

Defined in: packages/agentos/src/api/generateText.ts:147

When true, marks the end of this block as a cache boundary.


text

text: string

Defined in: packages/agentos/src/api/generateText.ts:145

The text content of this block.