module RubyLLM::ActiveRecord::ChatQuestions

The questions a persisted chat waits on, kept on its tool call rows: approvals, and the questions tools and MCP servers ask (see RubyLLM::Question). Any process reads them from the database, without building the chat, and records answers on those rows under a row lock, so a web request can answer what a job asked and another job can carry the call on. ChatMethods includes it.

chat.pending_questions.each { |question| render "questions/question", question: }
chat.answer(params[:question_id], params[:answer])
ChatResponseJob.perform_later(chat.id)