This commit is contained in:
Ashwin Bharambe 2025-05-25 22:00:33 -07:00
parent 12dfcd11d9
commit 70d3e4bd67

View file

@ -593,8 +593,8 @@ class OpenAIResponsesImpl:
# we need to list all the toolgroups so tools can be found. avoid MCPs because they # we need to list all the toolgroups so tools can be found. avoid MCPs because they
# may need authentication. # may need authentication.
groups = await self.tool_groups_api.list_tool_groups() groups = await self.tool_groups_api.list_tool_groups()
for group in groups: for group in groups.data:
if not group.mcp_endpoint: if group.mcp_endpoint:
continue continue
_ = await self.tool_groups_api.list_tools(group.identifier) _ = await self.tool_groups_api.list_tools(group.identifier)