We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 634ddce commit 68cdbc4Copy full SHA for 68cdbc4
sentry_sdk/integrations/openai_agents/patches/tools.py
@@ -32,7 +32,7 @@ async def wrapped_get_all_tools(cls, agent, context_wrapper):
32
wrapped_tools = []
33
for tool in tools:
34
# Wrap only the function tools (for now)
35
- if not isinstance(tool, agents.Tool):
+ if tool.__class__.__name__ != "FunctionTool":
36
wrapped_tools.append(tool)
37
continue
38
0 commit comments