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.
Parameters
Section titled “Parameters”content
Section titled “content”Message content (string or ContentPart[])
Returns
Section titled “Returns”Array of content parts