mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Upgrade tenacity to respect min time for exponential backoff
Fix for issue is in tenacity 9.0.0. But older langchain required tenacity <0.9.0. Explicitly pin version of langchain sub packages to avoid indexing and doc parsing breakage.
This commit is contained in:
@@ -44,7 +44,7 @@ dependencies = [
|
||||
"jinja2 == 3.1.6",
|
||||
"openai >= 1.0.0",
|
||||
"tiktoken >= 0.3.2",
|
||||
"tenacity >= 8.2.2",
|
||||
"tenacity >= 9.0.0",
|
||||
"magika ~= 0.5.1",
|
||||
"pillow ~= 10.0.0",
|
||||
"pydantic[email] >= 2.0.0",
|
||||
@@ -57,10 +57,9 @@ dependencies = [
|
||||
"torch == 2.6.0",
|
||||
"uvicorn == 0.30.6",
|
||||
"aiohttp ~= 3.9.0",
|
||||
"langchain == 0.2.5",
|
||||
"langchain-community == 0.2.5",
|
||||
"langchain-text-splitters == 0.3.1",
|
||||
"langchain-community == 0.3.3",
|
||||
"requests >= 2.26.0",
|
||||
"tenacity == 8.3.0",
|
||||
"anyio ~= 4.8.0",
|
||||
"pymupdf == 1.24.11",
|
||||
"django == 5.1.8",
|
||||
|
||||
Reference in New Issue
Block a user