mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-12 17:10:54 +02:00
Fix GPT4All (#738)
This commit is contained in:
parent
b3ea53fa46
commit
4fd55b8928
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user