Pi.Agent.Step (pi_bridge v0.6.22)

Copy Markdown View Source

Declarative Pi agent orchestration step.

Summary

Types

t()

@type t() :: %Pi.Agent.Step{
  messages: [Pi.Protocol.LLM.Message.t()] | nil,
  metadata: map(),
  name: atom() | String.t() | nil,
  parent_id: String.t() | nil,
  prompt: String.t() | nil,
  system: String.t() | nil
}

Functions

from(step)

to_session(step, opts \\ [])