From 68b8f74a19ae397bab323ecfacea6f2edda90829 Mon Sep 17 00:00:00 2001 From: Omar Abdelwahab Date: Thu, 13 Nov 2025 12:26:51 -0800 Subject: [PATCH] updated a comment in mcp.py --- src/llama_stack/providers/utils/tools/mcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/llama_stack/providers/utils/tools/mcp.py b/src/llama_stack/providers/utils/tools/mcp.py index 9558dcde1..8df576ee4 100644 --- a/src/llama_stack/providers/utils/tools/mcp.py +++ b/src/llama_stack/providers/utils/tools/mcp.py @@ -162,7 +162,7 @@ async def list_mcp_tools( List of tool definitions from the MCP server Raises: - ValueError: If both headers contains Authorization and authorization parameter is provided + ValueError: If Authorization is found in the headers parameter """ # Prepare headers with authorization handling final_headers = prepare_mcp_headers(headers, authorization) @@ -205,7 +205,7 @@ async def invoke_mcp_tool( Tool invocation result with content and error information Raises: - ValueError: If both headers contains Authorization and authorization parameter is provided + ValueError: If Authorization header is found in the headers parameter """ # Prepare headers with authorization handling final_headers = prepare_mcp_headers(headers, authorization)