Pass max context length to fix using updated GPT4All.list_gpu method

It's signature was updated in GPT4All 2.1.0 pypi release.

Resolves #610
This commit is contained in:
Debanjum Singh Solanky
2024-01-16 12:23:45 +05:30
parent 50575b749b
commit d74f8e03d3
2 changed files with 7 additions and 5 deletions

View File

@@ -62,8 +62,8 @@ dependencies = [
"pymupdf >= 1.23.5",
"django == 4.2.7",
"authlib == 1.2.1",
"gpt4all >= 2.0.0; platform_system == 'Linux' and platform_machine == 'x86_64'",
"gpt4all >= 2.0.0; platform_system == 'Windows' or platform_system == 'Darwin'",
"gpt4all >= 2.1.0; platform_system == 'Linux' and platform_machine == 'x86_64'",
"gpt4all >= 2.1.0; platform_system == 'Windows' or platform_system == 'Darwin'",
"itsdangerous == 2.1.2",
"httpx == 0.25.0",
"pgvector == 0.2.4",