User content supported by the explicitly image-enabled WebLLM protocol.
API
export type WebLlmImageContent =
| string
| (
| {
type: "text";
text: string;
}
| {
type: "image_url";
image_url: {
url: string;
};
}
)[];