Property Preamble

Assembly: redb.Route.Llm.dll

Messages placed before the loaded conversation history on every iteration of the
run — a fixed opening exchange the model sees as its own past, a few-shot block, anything
that must precede the dialog without being part of it.
Not persisted and not part of the conversation. The store keeps what was
said in this dialog; the preamble is part of how the assistant is assembled, so it is
re-attached from the request each time rather than written as rows. That is also what
makes it survive a branch rebuild: a fresh branch loads an empty path and the preamble is
still there.
Keep it byte-stable and mark its last message with
when the system prompt is cached too — otherwise
the cached prefix ends at the system block and the preamble is paid in full on every
turn. The first preamble message must be a user turn: providers require the
transcript to open with one.

public IReadOnlyList<LlmMessage> Preamble { get; init; }