class RubyLLM::QueuedMessage
A user message waiting to join a conversation, from Chat#queue. The conversation loop takes it between two of its moves, where it becomes an ordinary user Message.
queued = chat.queue "Use the EU file instead" chat.queued_messages # => [#<RubyLLM::QueuedMessage ...>] chat.unqueue(queued) # => true
Attributes
The attachments given with with:, or nil.
The text of the message, as given to Chat#queue.
A String that identifies this message among the chatβs queued ones.
Whoever queued the message, as given with owner:, or nil. RubyLLM stores it and hands it back without interpreting it.
The Time the message was queued.
Public Instance Methods
Source
# File lib/ruby_llm/queued_message.rb, line 44 def steer? @steer end
Returns whether the message steers the turn that is running, joining it at the next step, rather than waiting for the turn to end.