Jido.AI.Reasoning.ReAct.Runner (Jido AI v2.2.0)

Copy Markdown View Source

Task-based ReAct runner.

Produces a lazy event stream via Stream.resource/3 and does not persist runtime state outside of caller-owned checkpoint tokens.

Summary

Functions

Starts a new ReAct coordinator task and returns a lazy event stream.

Continues a ReAct run from an existing runtime state.

Types

stream_opt()

@type stream_opt() ::
  {:request_id, String.t()}
  | {:run_id, String.t()}
  | {:state, Jido.AI.Reasoning.ReAct.State.t()}
  | {:task_supervisor, pid() | atom()}
  | {:context, map()}

Functions

stream(query, config, opts \\ [])

Starts a new ReAct coordinator task and returns a lazy event stream.

stream_from_state(state, config, opts \\ [])

Continues a ReAct run from an existing runtime state.