mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 01:48:05 +00:00
precommit
This commit is contained in:
parent
575d503aaf
commit
ddc18e568f
1 changed files with 1 additions and 3 deletions
|
|
@ -52,9 +52,7 @@ class ModelContextProtocolToolRuntimeImpl(ToolGroupsProtocolPrivate, ToolRuntime
|
|||
# Get other headers from provider data (but NOT authorization)
|
||||
provider_headers = await self.get_headers_from_request(mcp_endpoint.uri)
|
||||
|
||||
return await list_mcp_tools(
|
||||
endpoint=mcp_endpoint.uri, headers=provider_headers, authorization=authorization
|
||||
)
|
||||
return await list_mcp_tools(endpoint=mcp_endpoint.uri, headers=provider_headers, authorization=authorization)
|
||||
|
||||
async def invoke_tool(
|
||||
self, tool_name: str, kwargs: dict[str, Any], authorization: str | None = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue