mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
fix(cli): widen _run_cleanup MCP shutdown guard to BaseException
This commit is contained in:
parent
e9529578d5
commit
1bcfe9c58a
1 changed files with 1 additions and 1 deletions
2
cli.py
2
cli.py
|
|
@ -974,7 +974,7 @@ def _run_cleanup():
|
|||
try:
|
||||
from tools.mcp_tool import shutdown_mcp_servers
|
||||
shutdown_mcp_servers()
|
||||
except Exception:
|
||||
except BaseException:
|
||||
pass
|
||||
# Close cached auxiliary LLM clients (sync + async) so that
|
||||
# AsyncHttpxClientWrapper.__del__ doesn't fire on a closed event loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue