Skip to content

normalizeMessageContent

normalizeMessageContent(content): ContentPart[]

Defined in: core/messages.ts:45

Normalize message content to an array of content parts. Converts string content to a single text part.

MessageContent

Message content (string or ContentPart[])

ContentPart[]

Array of content parts