Pi.Agent.Run (pi_bridge v0.6.22)

Copy Markdown View Source

Structured result of an agent orchestration run.

Summary

Types

kind()

@type kind() :: :single | :parallel | :chain | :fanout

status()

@type status() :: :ok | :error

t()

@type t() :: %Pi.Agent.Run{
  error: term(),
  kind: kind(),
  metadata: map(),
  results: [Pi.Agent.Result.t() | term()],
  status: status()
}

Functions

error(kind, results, error, metadata \\ %{})

ok(kind, results, metadata \\ %{})