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.
Summary
Functions
Creates a decoded turn result for Native orchestration.
Types
@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 }
Functions
@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.