Skip to main content

Type Alias: SystemPromptStability

SystemPromptStability = "persona" | "conversation" | "turn"

Defined in: packages/agentos/src/core/llm/IPromptEngine.ts:119

How long a system entry's text stays the same: for the life of the persona (persona), for the conversation (conversation), or for one turn (turn). An entry with no label is read as turn. The chat template can send the leading run of persona and conversation entries as its own first system message, so a provider's prompt cache can keep it (see PromptComponents.systemCacheMarker).