Skip to content
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

langgraph: fix issue w/ type annotations in tools_condition #2502

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

vbarda
Copy link
Collaborator

@vbarda vbarda commented Nov 21, 2024

No description provided.

@@ -35,15 +32,13 @@
from langchain_core.tools import BaseTool, InjectedToolArg
from langchain_core.tools import tool as create_tool
from langchain_core.tools.base import get_all_basemodel_annotations
from pydantic import BaseModel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we expect from pydantic.v1 import BaseModel to work?

@nfcampos nfcampos enabled auto-merge December 5, 2024 01:40
@nfcampos nfcampos merged commit 759a712 into main Dec 5, 2024
59 checks passed
@nfcampos nfcampos deleted the vb/fix-annotation branch December 5, 2024 01:47
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.

4 participants