Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(msteams): add auth warning and restore unrelated pyproject change
chengyongru49223e639ef0
diff --git a/nanobot/channels/msteams.py b/nanobot/channels/msteams.pyindex d73ed53e3..2987b03f8 100644--- a/nanobot/channels/msteams.py+++ b/nanobot/channels/msteams.py@@ -111,6 +111,13 @@ class MSTeamsChannel(BaseChannel):logger.error("MSTeams app_id/app_password not configured")return+ if not self.config.validate_inbound_auth:+ logger.warning(+ "MSTeams inbound auth validation is DISABLED. "+ "Anyone who knows the webhook URL can send messages as any user. "+ "Set validateInboundAuth: true in config for production use."+ )+self._loop = asyncio.get_running_loop()self._http = httpx.AsyncClient(timeout=30.0)self._running = Truediff --git a/pyproject.toml b/pyproject.tomlindex 71526a01d..54f82be7a 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -93,6 +93,7 @@ dev = ["aiohttp>=3.9.0,<4.0.0","pytest-cov>=6.0.0,<7.0.0","ruff>=0.1.0",+ "pymupdf>=1.25.0",][project.scripts]