Fields
How it is applied
Prompts are prepended, never appended, and the caller’s own messages always follow. Your application’s own system message is never replaced. Ordering is by type first, System then User then Assistant, then global before model specific, then by position. On the Anthropic endpoint, which allows only one system string, extra system prompts are folded into it and marked as continuations.Variables
{{name}} is substituted from a fixed list.
Anything else is left exactly as written. There are no loops or conditionals.
Limits
Prompts are cached for about a minute.