OptionalattachmentKey?: neverExplicitly excluded when inline content is present to maintain type safety.
The image content as a base64-encoded string
The MIME type of the image (e.g. "image/png", "image/jpeg")
Key of an already-uploaded image, in place of inline content
Optionalcontent?: neverExplicitly excluded when an attachment key is present to maintain type safety.
The MIME type of the image (e.g. "image/png", "image/jpeg")
Represents an image attached to an LLM chat model message, carrying exactly one of inline
contentor anattachmentKey. Supplying neither or both is rejected by the tagger, and the union keeps both shapes from type-checking.