Wraps a plain text string into the content-part format required by the
multimodal Chat Completions API. Useful when building message content
lists manually alongside image parts.
Usage
text_content(text)
Value
A named list: list(type = "text", text = <text>).
Arguments
text
Character. The text string to include in the message content.