FIX: a error

This commit is contained in:
耗子 2024-04-28 00:12:23 +08:00 committed by GitHub
parent 4e8b0025ee
commit 9c056a44fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module ::DiscourseAi
end end
if SiteSetting.ai_hugging_face_tei_reranker_api_key.present? if SiteSetting.ai_hugging_face_tei_reranker_api_key.present?
headers["Authorization"] = "Bearer #{SiteSetting.ai_hugging_face_tei_api_key}" headers["Authorization"] = "Bearer #{SiteSetting.ai_hugging_face_tei_reranker_api_key}"
end end
conn = Faraday.new { |f| f.adapter FinalDestination::FaradayAdapter } conn = Faraday.new { |f| f.adapter FinalDestination::FaradayAdapter }