mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 21:05:17 +02:00
Fix GPT4All (#738)
This commit is contained in:
@@ -20,6 +20,6 @@ def get_default_llm(
|
|||||||
return CustomModelServer(api_key=api_key, timeout=timeout)
|
return CustomModelServer(api_key=api_key, timeout=timeout)
|
||||||
|
|
||||||
if GEN_AI_MODEL_PROVIDER.lower() == "gpt4all":
|
if GEN_AI_MODEL_PROVIDER.lower() == "gpt4all":
|
||||||
DanswerGPT4All(timeout=timeout)
|
return DanswerGPT4All(timeout=timeout)
|
||||||
|
|
||||||
return DefaultMultiLLM(api_key=api_key, timeout=timeout)
|
return DefaultMultiLLM(api_key=api_key, timeout=timeout)
|
||||||
|
Reference in New Issue
Block a user