Jidoka.Inspection.Preflight (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Data returned by Jidoka.preflight/3.

Preflight is intentionally effect-free. It shows the normalized agent, plan, request, and prompt that would be used by a turn without calling the LLM or any operations.

Summary

Types

t()

@type t() :: %Jidoka.Inspection.Preflight{
  agent: map(),
  diagnostics: [any()],
  events: [map()],
  plan: map(),
  prompt: map(),
  request: map(),
  timeline: [map()]
}

Functions

new(attrs)

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs)

@spec new!(keyword() | map()) :: t()

schema()

@spec schema() :: Zoi.schema()