-
Notifications
You must be signed in to change notification settings - Fork 20
feat: upgrade langgraph to 1.x #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
3d43573 to
8f91129
Compare
|
Internal regression failed: Build ID #147 |
8f91129 to
3f90099
Compare
|
Internal regression failed: Build ID #150 |
3f90099 to
a749a7b
Compare
|
Internal regression succeeded 🍏: Build ID #156 |
|
Internal regression succeeded 🍏: Build ID #157 |
b066953 to
9d449eb
Compare
|
Internal regression succeeded 🍏: Build ID #158 |
9d449eb to
59bd28c
Compare
|
Internal regression succeeded 🍏: Build ID #170 |
pyagentspec/src/pyagentspec/adapters/langgraph/conversion_utils.py
Outdated
Show resolved
Hide resolved
| ], | ||
| "langgraph": LANGGRAPH_DEPS, | ||
| "langgraph_mcp": LANGGRAPH_DEPS + ["langchain-mcp-adapters>=0.1.13,<0.2.0"], | ||
| "langgraph_mcp": LANGGRAPH_DEPS + ["langchain-mcp-adapters"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the version of langchain-mcp-adapters for which we have approvals? It should appear in the constraints.txt file, but I don't see it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get the approval for the latest version 0.2.1
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
pyagentspec/tests/adapters/langgraph/configs/ancestry_agent_with_client_tool.yaml
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
7b1e7b4 to
cefc4a0
Compare
pyagentspec/src/pyagentspec/adapters/langgraph/_agentspecconverter.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_agentspecconverter.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_agentspecconverter.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
pyagentspec/src/pyagentspec/adapters/langgraph/_node_execution.py
Outdated
Show resolved
Hide resolved
|
Internal regression succeeded 🍏: Build ID #179 |
4f05d75 to
b72f6d9
Compare
|
Internal regression failed: Build ID #242 |
|
Internal regression succeeded 🍏: Build ID #245 |
|
Internal regression succeeded 🍏: Build ID #247 |
Context
We upgrade langgraph and langchain to latest versions since versions < 1.0 are being deprecated.
We also need to migrate the code (esp. the agent spec exporter) as langchain's create_react_agent changed a lot.
MCP tool conversion also need to be migrated as they changed the output signature (it now returns a list of content blocks).