append method
Appends additional text to the existing message content.
This is typically used for LLM messages that are streamed in parts.
Implementation
void append(String text) => this.text = (this.text ?? '') + text;
Appends additional text to the existing message content.
This is typically used for LLM messages that are streamed in parts.
void append(String text) => this.text = (this.text ?? '') + text;