Skip to main content

Module turn

Module turn 

Source
Expand description

TurnRuntime: host-agnostic ReAct-style loop with stop gates and compaction.

Structs§

TurnOptions
Options for a single turn.
TurnOutcome
Successful or failed turn result.
TurnRuntime
Stateless turn engine.

Enums§

TurnInput
User-facing turn input.

Functions§

estimate_conversation_tokens
Estimate tokens for a conversation (re-export of shared estimator).