fix: store original MCP tool name, make close_mcp public

This commit is contained in:
Re-bin committed 2026-02-15 07:00:27 +00:00
1 parent 54d5f637e7
commit 52cf1da30a
4 files changed
+41 -9

No files matched your search

+1 -1
View File
@@ -229,7 +229,7 @@ class AgentLoop:
except asyncio.TimeoutError:
continue
async def _close_mcp(self) -> None:
async def close_mcp(self) -> None:
"""Close MCP connections."""
if self._mcp_stack:
try: