feat: MULTIROOM_AGENT env switch for single-room mode

This commit is contained in:
Bernd (Hermes)
2026-06-22 10:12:07 +02:00
parent 4d6fae6bf7
commit a442e42b4e
2 changed files with 75 additions and 66 deletions
+2
View File
@@ -102,6 +102,8 @@ def is_connected(config) -> bool:
def register(ctx):
"""Plugin entry point — called by the Hermes plugin system at startup."""
_MULTIROOM = os.getenv("MULTIROOM_AGENT", "true").strip().lower() not in ("false", "0", "no", "off")
from .adapter import RocketChatAdapter # lazy import avoids circular deps
from .tools import register_tools