mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
recordings
This commit is contained in:
parent
a78f981dbb
commit
fa6ed28aea
21 changed files with 4085 additions and 6339 deletions
|
@ -199,14 +199,14 @@ class TestMCPToolsInChatCompletion:
|
|||
}
|
||||
|
||||
# Get the tools from MCP
|
||||
tools_response = llama_stack_client.tool_runtime.list_runtime_tools(
|
||||
tools_response = llama_stack_client.tool_runtime.list_tools(
|
||||
tool_group_id=test_toolgroup_id,
|
||||
extra_headers=auth_headers,
|
||||
)
|
||||
|
||||
# Convert to OpenAI format for inference
|
||||
tools = []
|
||||
for tool in tools_response.data:
|
||||
for tool in tools_response:
|
||||
tools.append(
|
||||
{
|
||||
"type": "function",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue