class Riffer::Messages::Assistant

Represents an assistant (LLM) message in a conversation.

May include tool calls when the LLM requests tool execution.

msg = Riffer::Messages::Assistant.new(โ€œHello!โ€) msg.role # => :assistant msg.content # => โ€œHello!โ€ msg.tool_calls # => []