# `Raxol.AgentClientProtocol.Schema.Unstable.SessionModelState`
[🔗](https://github.com/DROOdotFOO/raxol-agent/blob/raxol_agent_client_protocol-v0.1.0/packages/raxol_agent_client_protocol/lib/raxol/agent_client_protocol/schema/unstable.ex#L98)

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.

# `t`

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

# `from_json`

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

# `new`

```elixir
@spec new(String.t(), [Raxol.AgentClientProtocol.Schema.Unstable.ModelInfo.t()]) ::
  t()
```

# `to_json`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
