diff --git a/plugin/__init__.py b/plugin/__init__.py index 76d1cf8..1c5c657 100644 --- a/plugin/__init__.py +++ b/plugin/__init__.py @@ -111,7 +111,7 @@ def register(ctx): _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 + from .rc_tools import register_tools ctx.register_platform( name="rocketchat", diff --git a/plugin/tools.py b/plugin/rc_tools.py similarity index 99% rename from plugin/tools.py rename to plugin/rc_tools.py index c1025d6..fd90886 100644 --- a/plugin/tools.py +++ b/plugin/rc_tools.py @@ -20,8 +20,8 @@ import urllib.parse # Inlined from tools.registry — avoids import conflict with the plugin's -# own tools.py module (which shadows the core tools/ package when the -# plugin directory is on sys.path). +# own rc_tools.py module (which used to shadow the core tools/ package when +# the plugin directory is on sys.path). def tool_error(message, **extra) -> str: result = {"error": str(message)} if extra: