# `LLMProxy.Config.TOML`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/config/toml.ex#L1)

Strict TOML decoder for standalone LLMProxy configuration.

The decoder translates a finite data-only schema into ordinary application
configuration. It never creates atoms from arbitrary TOML keys and does not
accept credentials or encryption keys.

# `decoded`

```elixir
@type decoded() :: keyword()
```

# `reason`

```elixir
@type reason() :: Toml.reason()
```

# `decode`

```elixir
@spec decode(
  String.t(),
  keyword()
) :: {:ok, decoded()} | {:error, reason()}
```

# `decode_file`

```elixir
@spec decode_file(
  Path.t(),
  keyword()
) :: {:ok, decoded()} | {:error, reason()}
```

---

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