FIX: a error
This commit is contained in:
parent
4e8b0025ee
commit
9c056a44fd
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue