From b54db133cd5dd2a9d266ac59a634917ecd9c9427 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 10 Jun 2025 14:21:31 -0300 Subject: [PATCH] FIX: No need for XML in gists responses anymore (#1420) --- lib/summarization/strategies/hot_topic_gists.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/summarization/strategies/hot_topic_gists.rb b/lib/summarization/strategies/hot_topic_gists.rb index 3b7c7ceb..cb987824 100644 --- a/lib/summarization/strategies/hot_topic_gists.rb +++ b/lib/summarization/strategies/hot_topic_gists.rb @@ -89,9 +89,7 @@ module DiscourseAi context << "Your task is to capture the meaning of the initial statement." end - [{ type: :user, content: <<~TEXT.strip }] - #{context} Return the 40-word summary inside tags. - TEXT + [{ type: :user, content: context }] end end end