cleanup: remove unnecessary debug logs

Signed-off-by: Calum Murray <cmurray@redhat.com>
This commit is contained in:
Calum Murray 2025-07-10 14:16:05 -04:00
parent caecaa8b31
commit 96f67146e4
No known key found for this signature in database
GPG key ID: B67F01AEB13FE187

View file

@ -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: async def list_mcp_tools(endpoint: str, headers: dict[str, str]) -> ListToolDefsResponse:
tools = [] tools = []
async with client_wrapper(endpoint, headers) as session: async with client_wrapper(endpoint, headers) as session:
logger.debug("listing mcp tools")
tools_result = await session.list_tools() tools_result = await session.list_tools()
for tool in tools_result.tools: for tool in tools_result.tools:
parameters = [] parameters = []
@ -110,7 +109,6 @@ async def invoke_mcp_tool(
endpoint: str, headers: dict[str, str], tool_name: str, kwargs: dict[str, Any] endpoint: str, headers: dict[str, str], tool_name: str, kwargs: dict[str, Any]
) -> ToolInvocationResult: ) -> ToolInvocationResult:
async with client_wrapper(endpoint, headers) as session: async with client_wrapper(endpoint, headers) as session:
logger.debug("invoking mcp tool")
result = await session.call_tool(tool_name, kwargs) result = await session.call_tool(tool_name, kwargs)
content: list[InterleavedContentItem] = [] content: list[InterleavedContentItem] = []