A long-running media generation job.
next is the encoded request the caller's transport executes next, built by the
codec so the transport needs no knowledge of the protocol's job URL.
next_kind: :polldecodes the response body withLlmCall.decode_operation/3.next_kind: :assetmeans the response body is media bytes; the core never touches them and the caller stores them usingnext_media_type.
status: :completed is never paired with next_kind: :poll: a codec that knows
the asset needs another request says so in the same result.
The core never polls, waits, retries, or downloads.
Summary
Types
@type status() :: :queued | :in_progress | :completed | :failed
@type t() :: %LlmCall.Operation{ error: LlmCall.Error.t() | nil, id: String.t() | nil, next: LlmCall.EncodedRequest.t() | nil, next_kind: :poll | :asset | nil, next_media_type: String.t() | nil, progress: 0..100 | nil, raw: map() | nil, result: LlmCall.Media.Response.t() | nil, status: status() }