Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 19:30 UTC
fix
Sushmithamallesh committed
Oct 2, 2025 at 20:44 UTC
bd75f823e5e8475de32a23dfcbdf7bc67dec9cd6
1 file changed
+2
-6
python/composio/core/provider/_openai_responses.py
+2
-6
@@ -49,12 +49,8 @@ class OpenAIResponsesProvider(
49
:param modifiers: Optional modifiers for tool execution.
50
:return: Object containing output data from the tool call.
51
"""
52
- if isinstance(tool_call, ChatCompletionMessageToolCall):
53
- slug = tool_call.function.name
54
- arguments = json.loads(tool_call.function.arguments)
55
- else: # ResponseFunctionToolCall
56
- slug = tool_call.name
57
- arguments = json.loads(tool_call.arguments)
52
+ slug = tool_call.name
53
+ arguments = json.loads(tool_call.arguments)
54
55
return self.execute_tool(
56
slug=slug,