Schema for run results.
A run result captures the output and metrics from executing a run against a specific provider.
Summary
Functions
Changeset for creating or updating a run result.
Types
@type t() :: %Aludel.Runs.RunResult{ __meta__: term(), completed_at: term(), cost_usd: term(), error: term(), id: term(), input_tokens: term(), inserted_at: term(), latency_ms: term(), output: term(), output_tokens: term(), provider: term(), provider_id: term(), run: term(), run_id: term(), started_at: term(), status: term(), updated_at: term() }
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Changeset for creating or updating a run result.
Validates that run_id, provider_id, and status are present.