ChatMessage.llm constructor

ChatMessage.llm()

Factory constructor for creating an LLM-originated message.

Creates a message with an empty text content and no attachments.

Implementation

factory ChatMessage.llm() =>
    ChatMessage(origin: MessageOrigin.llm, text: null, attachments: []);