# `Jidoka.Adapter.ReqLLM`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/adapter/req_llm.ex#L1)

ReqLLM runtime support for Jidoka's LLM effect boundary.

This is an advanced extension seam. Normal application calls use the default
ReqLLM capability through `Jidoka.chat/3` or `Jidoka.turn/3`.

The runtime uses a constrained JSON protocol instead of native provider
tool-calling. That keeps Jidoka's Runic spine provider-neutral while still
letting a real model choose between final answers and operation calls.

# `option`

```elixir
@type option() ::
  {:model, ReqLLM.model_input()}
  | {:temperature, number()}
  | {:max_tokens, pos_integer()}
  | {:timeout, timeout()}
  | {:receive_timeout, timeout()}
  | {:provider_options, map()}
  | {:cache, term()}
  | {:api_key, String.t()}
  | {:stream, boolean()}
  | {:stream_to, pid() | {:pid, pid()}}
  | {:on_event, (Jidoka.Event.t() -&gt; term())}
```

# `llm`

```elixir
@spec llm([option()]) :: Jidoka.Runtime.Capabilities.llm_capability()
```

Returns an LLM function suitable for `Jidoka.turn/3`.

    llm = Jidoka.Adapter.ReqLLM.llm(model: "openai:gpt-4o-mini", temperature: 0.0)
    Jidoka.turn(agent, "Use the available tool.", llm: llm, operations: ops)

---

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