I am using this gem https://github.com/alexrudall/ruby-openai
I succesfully creating a thread and adding a new message on it.
thread = OpenAI::Threads.new(client: ai_client).create
message = OpenAI::Messages.new(client: ai_client).create(thread_id: thread['id'], parameters: { role: 'user', content: 'Hello I feel depressed'})
I now want to get the assistant response to this message, I guess I need to use to run this thread for this specific thread but I am not sure how to do it.