Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

feat: Make gpt4all work offline. (#1099)

Taranjeet Singhdd258c14b547
diff --git a/embedchain/llm/gpt4all.py b/embedchain/llm/gpt4all.py
index 73950bd7c..4afddfab3 100644
--- a/embedchain/llm/gpt4all.py
+++ b/embedchain/llm/gpt4all.py
@@ -29,7 +29,7 @@ class GPT4ALLLlm(BaseLlm):
"The GPT4All python package is not installed. Please install it with `pip install --upgrade embedchain[opensource]`" # noqa E501
) from None
- return LangchainGPT4All(model=model, allow_download=True)
+ return LangchainGPT4All(model=model)
def _get_answer(self, prompt: str, config: BaseLlmConfig) -> Union[str, Iterable]:
if config.model and config.model != self.config.model: