mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 18:00:36 +00:00
updated the comments
This commit is contained in:
parent
daa5a79b24
commit
0d4fa16ab9
4 changed files with 10 additions and 19 deletions
|
|
@ -35,11 +35,8 @@ def test_mcp_invocation(llama_stack_client, text_model_id, mcp_server):
|
|||
mcp_endpoint=dict(uri=uri),
|
||||
)
|
||||
|
||||
# Phase 2: Use the dedicated authorization parameter (no more provider_data headers)
|
||||
# Use the dedicated authorization parameter (no more provider_data headers)
|
||||
# This tests direct tool_runtime.invoke_tool API calls
|
||||
|
||||
# Note: tools.list() is the ToolGroups API and doesn't have authorization parameter
|
||||
# Use tool_runtime.list_tools() for authorization support
|
||||
tools_list = llama_stack_client.tool_runtime.list_tools(
|
||||
tool_group_id=test_toolgroup_id,
|
||||
authorization=AUTH_TOKEN, # Use dedicated authorization parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue