diff --git a/pyproject.toml b/pyproject.toml index 34e2892a4..b6a88181a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,9 +42,9 @@ dependencies = [ "httpx>=0.24.1", "jinja2>=3.1.3", # The 0.1.9 has a bug related to SparkLLM which breaks everything. - "langchain>=0.1.0,<0.2.0,!=0.1.9", - "langchain-core>=0.1.0,!=0.1.26", - "langchain-community>=0.0.16,<0.1.0", + "langchain>=0.1.0,<0.3.0,!=0.1.9", + "langchain-core>=0.1.0,<0.3.0,!=0.1.26", + "langchain-community>=0.0.16,<0.3.0", "lark~=1.1.7", "nest-asyncio>=1.5.6", "prompt-toolkit>=3.0",