Structs§
- Message
- A structured message with typed parts for context management.
- Message
Sequence - Part
- Part
Attachment - Rendered
Prompt
Enums§
Functions§
- append_
rendered_ prompt - messages_
are_ prompt_ resume_ safe - render_
prompt - render_
transcript_ prompt - shared_
parts - Wrap a
Vec<Part>for theMessage::partsfield. Use this in struct literals and tests (parts: shared_parts(vec![Part { ... }])) so the call sites stay short and uniform.
Type Aliases§
- Base
Render Cache - Memoized render of a
MessageSequence’sbase. Shared across the per-iterationMessageSequenceinstances that wrap the same base (typically theSessionGraphCache’s projected messages) so the chat projector’srender_promptwalk happens once per turn instead of once per LLM iteration.