Provider-neutral image metadata whose bytes live in a durable capture.
Summary
Functions
Builds an image attachment without copying the image bytes into conversation records.
Types
@type t() :: %MingaAgent.Tool.Output.Attachment{ filename: String.t(), kind: :image, media_type: String.t(), reference: MingaAgent.Tool.Output.Reference.t() }
Functions
@spec image(MingaAgent.Tool.Output.Reference.t(), String.t()) :: {:ok, t()} | {:error, :unsupported_image_format | :invalid_attachment}
Builds an image attachment without copying the image bytes into conversation records.