Skip to content

Commit 59cd191

Browse files
committed
.
1 parent b1aa03b commit 59cd191

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

scripts/populate_tox/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
"*": ["openai", "langchain-openai"],
216216
"<=0.1": ["httpx<0.28.0"],
217217
">=0.3": ["langchain-community"],
218+
">=1.0": ["langchain-classic"],
218219
},
219220
"python": {
220221
"<1.0": "<3.14", # https://github.com/langchain-ai/langchain/issues/33449#issuecomment-3408876631

tests/integrations/langchain/test_langchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from langchain_classic.agents import AgentExecutor, create_openai_tools_agent
3333
except ImportError:
3434
# langchain <v1
35-
from langchain.agents import tool, AgentExecutor, reate_openai_tools_agent
35+
from langchain.agents import tool, AgentExecutor, create_openai_tools_agent
3636

3737
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
3838

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ deps =
385385
langchain-notiktoken: langchain-openai
386386
langchain-notiktoken-v0.3.27: langchain-community
387387
langchain-notiktoken-v1.0.2: langchain-community
388+
langchain-notiktoken-v1.0.2: langchain-classic
388389

389390
langgraph-v0.6.11: langgraph==0.6.11
390391
langgraph-v1.0.1: langgraph==1.0.1

0 commit comments

Comments
 (0)