Skip to main content

Interface: SystemContentBlock

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

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:219

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


text

text: string

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

The text content of this block.