fix: store original MCP tool name, make close_mcp public

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

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: