# `Jidoka.Config`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/config.ex#L1)

Runtime configuration helpers for Jidoka.

# `model`

```elixir
@type model() :: LLMDB.Model.t()
```

# `model_spec`

```elixir
@type model_spec() :: ReqLLM.model_input()
```

# `default_generation`

```elixir
@spec default_generation() :: Jidoka.Agent.Spec.Generation.t()
```

Returns the configured default generation parameters.

# `default_max_model_turns`

```elixir
@spec default_max_model_turns() :: pos_integer()
```

Returns the globally configured default maximum model turns.

# `default_max_parallel_operations`

```elixir
@spec default_max_parallel_operations() :: pos_integer()
```

Returns the default concurrency bound for operation batches planned by one
model turn.

# `default_model`

```elixir
@spec default_model() :: model()
```

Returns the configured default model as normalized LLMDB data.

# `default_turn_timeout_ms`

```elixir
@spec default_turn_timeout_ms() :: pos_integer()
```

Returns the globally configured default turn timeout in milliseconds.

# `model_ref`

```elixir
@spec model_ref(model()) :: String.t()
```

Returns a compact provider/model identifier for prompts, traces, and tests.

# `normalize_generation`

```elixir
@spec normalize_generation(term(), atom()) ::
  {:ok, Jidoka.Agent.Spec.Generation.t()} | {:error, term()}
```

Validates and normalizes generation defaults.

# `normalize_generation!`

```elixir
@spec normalize_generation!(term(), atom()) :: Jidoka.Agent.Spec.Generation.t()
```

Validates and normalizes generation defaults, raising on error.

# `normalize_model_spec`

```elixir
@spec normalize_model_spec(term(), atom()) :: {:ok, model()} | {:error, term()}
```

Validates and normalizes any ReqLLM-supported model input.

# `normalize_model_spec!`

```elixir
@spec normalize_model_spec!(term(), atom()) :: model()
```

Validates and normalizes a model input, raising on error.

# `normalize_positive_integer`

```elixir
@spec normalize_positive_integer(term(), atom()) ::
  {:ok, pos_integer()} | {:error, term()}
```

Validates and normalizes a positive integer config value.

# `normalize_positive_integer!`

```elixir
@spec normalize_positive_integer!(term(), atom()) :: pos_integer()
```

Validates and normalizes a positive integer config value, raising on error.

---

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