# `MingaAgent.Providers.Native.ReqLLMAdapter.TurnResult`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_agent/providers/native/req_llm_adapter/turn_result.ex#L1)

Decoded result from one ReqLLM provider response.

The adapter owns the ReqLLM response shape. Native consumes this struct to decide whether the turn is complete or should continue through tool execution.

# `t`

```elixir
@type t() :: %MingaAgent.Providers.Native.ReqLLMAdapter.TurnResult{
  text: String.t(),
  tool_calls: [MingaAgent.Providers.Native.ReqLLMAdapter.ToolCall.t()],
  usage: MingaAgent.Providers.Native.ReqLLMAdapter.raw_usage() | nil
}
```

# `new`

```elixir
@spec new(
  String.t(),
  [MingaAgent.Providers.Native.ReqLLMAdapter.ToolCall.t()],
  MingaAgent.Providers.Native.ReqLLMAdapter.raw_usage() | nil
) :: t()
```

Creates a decoded turn result for Native orchestration.

---

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