Fix GPT4All (#738)

This commit is contained in:
Yuhong Sun 2023-11-18 21:21:02 -08:00 committed by GitHub
parent b3ea53fa46
commit 4fd55b8928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,6 @@ def get_default_llm(
return CustomModelServer(api_key=api_key, timeout=timeout)
if GEN_AI_MODEL_PROVIDER.lower() == "gpt4all":
DanswerGPT4All(timeout=timeout)
return DanswerGPT4All(timeout=timeout)
return DefaultMultiLLM(api_key=api_key, timeout=timeout)