From ccf1a3075881a291c9175962041a43a41de0a8d0 Mon Sep 17 00:00:00 2001 From: Vijay Swamidass Date: Tue, 10 Sep 2024 11:09:40 -0700 Subject: [PATCH] put content in message --- app/jobs/generate_message_response_job.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/generate_message_response_job.rb b/app/jobs/generate_message_response_job.rb index 27dd77a..cd98629 100644 --- a/app/jobs/generate_message_response_job.rb +++ b/app/jobs/generate_message_response_job.rb @@ -127,6 +127,7 @@ def perform(_message_id) prompt = replace_tag_with_random(prompt, '{{DATA_TAG}}') llm_message.prompt = prompt + llm_message.content = assistant.name = ' is thinking...' llm_message.chat_id = message.chat_id llm_message.user_id = message.user_id llm_message.from = :assistant