Raxol.AgentClientProtocol.Schema.Unstable.SessionModelState (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

The set of selectable models and the one currently active. (Unstable)

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.Unstable.SessionModelState{
  _meta: map(),
  available_models: [Raxol.AgentClientProtocol.Schema.Unstable.ModelInfo.t()],
  current_model_id: String.t()
}

Functions

from_json(map)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

new(current_model_id, available_models)

to_json(s)

@spec to_json(t()) :: map()