Skip to content

SystemPromptData

type SystemPromptData = string | SystemContentBlockData[];

Defined in: src/types/messages.ts:445

Data representation of a system prompt. Can be a simple string or an array of system content block data for advanced caching.

This is the data interface counterpart to SystemPrompt, following the Data pattern.