mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-28 15:02:37 +00:00
cleanup: remove unnecessary debug logs
Signed-off-by: Calum Murray <cmurray@redhat.com>
This commit is contained in:
parent
caecaa8b31
commit
96f67146e4
1 changed files with 0 additions and 2 deletions
|
@ -81,7 +81,6 @@ async def client_wrapper(endpoint: str, headers: dict[str, str]) -> AsyncGenerat
|
|||
async def list_mcp_tools(endpoint: str, headers: dict[str, str]) -> ListToolDefsResponse:
|
||||
tools = []
|
||||
async with client_wrapper(endpoint, headers) as session:
|
||||
logger.debug("listing mcp tools")
|
||||
tools_result = await session.list_tools()
|
||||
for tool in tools_result.tools:
|
||||
parameters = []
|
||||
|
@ -110,7 +109,6 @@ async def invoke_mcp_tool(
|
|||
endpoint: str, headers: dict[str, str], tool_name: str, kwargs: dict[str, Any]
|
||||
) -> ToolInvocationResult:
|
||||
async with client_wrapper(endpoint, headers) as session:
|
||||
logger.debug("invoking mcp tool")
|
||||
result = await session.call_tool(tool_name, kwargs)
|
||||
|
||||
content: list[InterleavedContentItem] = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue