Represents a completed assistant message.
@type t() :: %CliSubprocessCore.Payload.AssistantMessage{ content: [term()], extra: map(), metadata: map(), model: String.t() | nil, role: :assistant }
@spec new(keyword() | map() | struct()) :: struct()
@spec parse(keyword() | map() | struct()) :: {:ok, struct()} | {:error, {:invalid_payload, module(), CliSubprocessCore.Schema.error_detail()}}
@spec parse!(keyword() | map() | struct()) :: struct()
@spec schema() :: Zoi.schema()
@spec to_map(struct()) :: map()