diff --git a/lib/modules/ai_helper/chat_thread_titler.rb b/lib/modules/ai_helper/chat_thread_titler.rb index 2e78068f..ebc21ff0 100644 --- a/lib/modules/ai_helper/chat_thread_titler.rb +++ b/lib/modules/ai_helper/chat_thread_titler.rb @@ -14,6 +14,7 @@ module DiscourseAi .joins(:user) .pluck(:username, :message) .map { |username, message| "#{username}: #{message}" } + .join("\n") end def suggested_title