Closed simonw closed 8 months ago
This seems to work:
diff --git a/llm_gpt4all.py b/llm_gpt4all.py
index a4568d4..0b0e8e0 100644
--- a/llm_gpt4all.py
+++ b/llm_gpt4all.py
@@ -24,8 +24,8 @@ class GPT4All(_GPT4All):
def get_gpt4all_models():
return fetch_cached_json(
- url="https://gpt4all.io/models/models.json",
- path=llm.user_dir() / "gpt4all_models.json",
+ url="https://gpt4all.io/models/models2.json",
+ path=llm.user_dir() / "gpt4all_models2.json",
cache_timeout=3600,
)
Should bump the minimum version of gpt4all
too.
Added upgrade instructions to the 0.2 release notes:
The new version of
gpt4all
uses models in thegguf
format. You may have existingggml
models - these will no longer be used by the plugin, so it's safe to delete those files from your~/.cache/gpt4all
directory.
The latest
gpt4all
no longer works with models from the oldmodels.json
file. It needs models frommodels2.json
instead.Details here: