updated a comment in mcp.py

This commit is contained in:
Omar Abdelwahab 2025-11-13 12:26:51 -08:00
parent e6c6c36b70
commit 68b8f74a19

View file

@ -162,7 +162,7 @@ async def list_mcp_tools(
List of tool definitions from the MCP server List of tool definitions from the MCP server
Raises: 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 # Prepare headers with authorization handling
final_headers = prepare_mcp_headers(headers, authorization) final_headers = prepare_mcp_headers(headers, authorization)
@ -205,7 +205,7 @@ async def invoke_mcp_tool(
Tool invocation result with content and error information Tool invocation result with content and error information
Raises: 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 # Prepare headers with authorization handling
final_headers = prepare_mcp_headers(headers, authorization) final_headers = prepare_mcp_headers(headers, authorization)