Skip to main content

Module loop_runner

Module loop_runner 

Source
Expand description

ReAct loop runner: Thought -> Action -> Observation -> FinalAnswer.

Structs§

Agent
A ReAct agent that owns its configuration, tools and history (no lifetimes to manage). Same behaviour as LoopRunner.
LoopRunner
The ReAct loop execution context.

Enums§

NativeStep
What one native tool-calling turn did (see LoopRunner::step_response).

Functions§

parse_react_step
Parses a raw LLM response into a ReActStep.
system_prompt
The standard ReAct instructions plus the registry’s tool list, for use as a system prompt.