mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +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
|
||||
# may need authentication.
|
||||
groups = await self.tool_groups_api.list_tool_groups()
|
||||
for group in groups:
|
||||
if not group.mcp_endpoint:
|
||||
for group in groups.data:
|
||||
if group.mcp_endpoint:
|
||||
continue
|
||||
_ = await self.tool_groups_api.list_tools(group.identifier)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue