MingaAgent.ModelSelection.Policy.Reasoning (Minga v0.1.0)

Copy Markdown View Source

Validated reasoning choices for an exact execution route.

Summary

Functions

Chooses another supported effort without changing its advertised options.

Accepts only a reasoning choice advertised by this route.

Types

t()

@type t() :: %MingaAgent.ModelSelection.Policy.Reasoning{
  effort: String.t(),
  options: [String.t()]
}

Functions

choose(reasoning, effort)

@spec choose(t(), String.t()) :: {:ok, t()} | {:error, :unsupported_reasoning}

Chooses another supported effort without changing its advertised options.

new(arg1)

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

Accepts only a reasoning choice advertised by this route.