Expand description
Turn tracking for conversation context management.
A “turn” is one user request and everything that follows until the next user message (assistant text, tool calls, tool results). Tracking turns allows the windowing algorithm to operate at semantic boundaries instead of raw message indices.
Structs§
- Turn
- A single conversation turn: one user request + all resulting messages.
- Turn
Tracker - Tracks turn boundaries over a
Vec<Message>.
Enums§
- Turn
Status - Status of a conversation turn.