FIX: Pass correct API Key to summarization service (#50)

This commit is contained in:
Rafael dos Santos Silva 2023-05-02 21:41:11 -03:00 committed by GitHub
parent 89ac5d720a
commit c96edc8a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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