From c96edc8a722ccc870769e661a778fd9e6d954ef5 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 2 May 2023 21:41:11 -0300 Subject: [PATCH] FIX: Pass correct API Key to summarization service (#50) --- lib/modules/summarization/summary_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/summarization/summary_generator.rb b/lib/modules/summarization/summary_generator.rb index 2ec1f7ac..0ca15a23 100644 --- a/lib/modules/summarization/summary_generator.rb +++ b/lib/modules/summarization/summary_generator.rb @@ -69,7 +69,7 @@ module DiscourseAi "#{SiteSetting.ai_summarization_discourse_service_api_endpoint}/api/v1/classify", model, content, - SiteSetting.ai_sentiment_inference_service_api_key, + SiteSetting.ai_summarization_discourse_service_api_key, ).dig(:summary_text) end