Upgrade langchain version to 1.x (#720)

* fix: revert the part of patch of issue-710 to extract the content from the plan

* Upgrade the ddgs for the new compatible version

* Upgraded langchain to 1.1.0
updated langchain related package to the new compatable version

* Update pyproject.toml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Willem Jiang
2025-11-28 22:09:13 +08:00
committed by GitHub
parent b24f4d3f38
commit 170c4eb33c
17 changed files with 522 additions and 195 deletions

View File

@@ -10,10 +10,16 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"httpx>=0.28.1",
# LangChain 1.x core packages
"langchain>=1.0.0",
"langchain-core>=1.0.0",
"langchain-community>=0.3.19",
"langchain-experimental>=0.3.4",
"langchain-openai>=0.3.8",
"langchain-text-splitters>=0.3.6",
# LangGraph
"langgraph>=0.3.5",
# Other dependencies
"readabilipy>=0.3.0",
"python-dotenv>=1.0.1",
"socksio>=1.0.0",
@@ -28,6 +34,7 @@ dependencies = [
"json-repair>=0.7.0",
"jinja2>=3.1.3",
"duckduckgo-search>=8.0.0",
"ddgs>=9.0.0",
"inquirerpy>=0.3.4",
"arxiv>=2.2.0",
"mcp>=1.11.0",
@@ -35,14 +42,14 @@ dependencies = [
"langchain-deepseek>=0.1.3",
"langchain-google-genai>=2.0.6",
"wikipedia>=1.4.0",
"langchain-tavily<0.3",
"langchain-tavily>=0.2.0",
"langgraph-checkpoint-mongodb>=0.1.4",
"langgraph-checkpoint-postgres==2.0.21",
"pymilvus>=2.3.0",
"langchain-milvus>=0.2.1",
"psycopg[binary]>=3.2.9",
"qdrant-client>=1.15.1",
"langchain-qdrant>=0.2.0,<1.0.0",
"langchain-qdrant>=0.2.0",
]
[project.optional-dependencies]