mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 10:10:36 +00:00
Add authorization parameter to list_runtime_tools() method to support MCP servers that require authentication for listing tools. Changes: - Updated ToolRuntime protocol to include authorization parameter on list_runtime_tools() - Updated all provider implementations (MCP, Tavily, Brave, Bing, Wolfram Alpha) - Updated router and routing table to pass authorization through - Updated API recorder patched methods to include authorization parameter This enables authenticated tool listing for enterprise MCP deployments where IT administrators pre-configure connectors requiring authentication. Note: Client SDK will need to be regenerated from updated OpenAPI spec to support passing this parameter from client code. Tests will pass once client SDK is updated. |
||
|---|---|---|
| .. | ||
| apis | ||
| cli | ||
| core | ||
| distributions | ||
| models | ||
| providers | ||
| strong_typing | ||
| testing | ||
| __init__.py | ||
| env.py | ||
| log.py | ||
| schema_utils.py | ||