class RubyLLM::ActiveRecord::QueuedMessage
A user message queued on a persisted chat with ChatMethods#queue, waiting in RubyLLM’s ruby_llm_queued_messages table until the conversation loop takes it. Any process can queue one, and the process that runs the chat takes it, so a request can add to a reply a job is running. Its attachments move to the message it becomes.
chat.queued_messages.each { |queued| render queued } chat.unqueue(queued)
It answers content, attachments, owner, and steer?, like RubyLLM::QueuedMessage.
Public Instance Methods
Source
# File lib/ruby_llm/active_record/queued_message.rb, line 31 def queued_at created_at end
Returns when the message was queued.