MingaAgent.InferenceRoute.Model (minga_sdk v0.1.0)

Copy Markdown View Source

One model a contributed route offers. Minga fixes these fields into the selection policy.

This is a compile-time stub.

Summary

Types

t()

@type t() :: %MingaAgent.InferenceRoute.Model{
  compaction: :native | :unsupported,
  context_window: pos_integer(),
  cost: :metered | :subscription,
  display_name: String.t(),
  id: String.t(),
  images_in?: boolean(),
  max_output: pos_integer(),
  reasoning_levels: [String.t(), ...],
  tool_result_images?: boolean(),
  tools?: boolean(),
  usage: :tokens | :none
}

Functions

new(attrs)

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