From 473732c18a8b98f844a158321c3dfd289c6df4bf Mon Sep 17 00:00:00 2001 From: Roman Rizzi Date: Thu, 13 Jul 2023 21:48:25 -0300 Subject: [PATCH] FIX: Return base prompt instead of nil (#106) --- lib/modules/summarization/models/anthropic.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules/summarization/models/anthropic.rb b/lib/modules/summarization/models/anthropic.rb index 5c4d37d3..4c928706 100644 --- a/lib/modules/summarization/models/anthropic.rb +++ b/lib/modules/summarization/models/anthropic.rb @@ -75,6 +75,8 @@ module DiscourseAi ] base_prompt += "Don't use more than 400 words.\n" unless opts[:single_chunk] + + base_prompt end def completion(prompt)