Module events

Module events 

Source
Expand description

Event definitions for the ReAct pattern.

This module defines all event types used to coordinate the ReAct loop, including thinking, decisioning, tool calls, completion, and failure events.

Structsยง

FailureOccurred
Event to signal a failure in the ReAct loop.
FinishAndSummarize
Event to trigger the completion and summarization phase.
InvokeDecisioning
Event to trigger the decision-making phase.
InvokeThinking
Event to trigger the thinking/planning phase.
InvokeToolCall
Event to trigger a tool invocation.