We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeError
langchain.agents
1 parent eed1a3a commit 3684f01Copy full SHA for 3684f01
1 file changed
sentry_sdk/integrations/langchain.py
@@ -61,7 +61,8 @@
61
try:
62
# <v1
63
from langchain.agents import AgentExecutor
64
- except ImportError:
+ # Catch TypeError due to changes in type hint evaluation order: https://github.com/pydantic/pydantic/issues/13036
65
+ except (ImportError, TypeError):
66
AgentExecutor = None
67
68
0 commit comments