Skip to content

doc: Update README quickstart to fix issue with LangGraph. #56

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

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

anubhav756
Copy link
Contributor

The quickstart earlier used the minimal example from LangChain's doc, and worked since earlier we returned StructuredTool from Toolbox SDK. Now with recent changes, we return a subclass of BaseTool which caused issues with the way this quickstart binds the tools. This PR addresses that by using the updated create_react_agent from LangGraph, and also pretty prints to better explain the output to the end-user.

The quickstart earlier used the minimal example from LangChain's doc, and worked since earlier we returned `StructuredTool` from Toolbox SDK. Now with recent changes, we return a subclass of `BaseTool` which caused issues with the way this quickstart binds the tools. This PR addresses that by using the updated create_react_agent from LangGraph, and also pretty prints to better explain the output to the end-user.
@anubhav756 anubhav756 self-assigned this Feb 9, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner February 9, 2025 14:45
@anubhav756 anubhav756 merged commit 030a17f into main Feb 10, 2025
9 checks passed
@anubhav756 anubhav756 deleted the anubhav-doc branch February 10, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants