Complete model-continuation outcome returned by a provider worker.
Request identity and the source conversation revision let Session reject a late or duplicate outcome without changing the durable boundary.
Summary
Functions
Builds a completed outcome for the exact request snapshot.
Types
@type t() :: %MingaAgent.Session.Outcome{ conversation_revision: non_neg_integer(), messages: [ReqLLM.Message.t()], request_id: String.t(), turn_id: pos_integer(), version: pos_integer() }
Functions
@spec new(MingaAgent.Session.Request.t(), [ReqLLM.Message.t()]) :: t()
Builds a completed outcome for the exact request snapshot.