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