mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 01:10:28 +00:00
FIX: Use vLLM if TGI is not configured for OSS LLM inference (#380)
This commit is contained in:
parent
5db7bf6e68
commit
3c27cbfb9a
@ -12,7 +12,7 @@ module DiscourseAi
|
||||
Llama2-chat-hf
|
||||
mistralai/Mixtral-8x7B-Instruct-v0.1
|
||||
mistralai/Mistral-7B-Instruct-v0.2
|
||||
].include?(model_name)
|
||||
].include?(model_name) && SiteSetting.ai_hugging_face_api_url.present?
|
||||
end
|
||||
|
||||
def default_options
|
||||
|
Loading…
x
Reference in New Issue
Block a user