mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +00:00
fix
This commit is contained in:
parent
12dfcd11d9
commit
70d3e4bd67
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue