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
Merge remote-tracking branch 'origin/main' into pr-2530
Xubin Ren413740f585fc
diff --cc nanobot/channels/whatsapp.pyindex 63a9b69d0,a788dd727..2d2552344--- a/nanobot/channels/whatsapp.py+++ b/nanobot/channels/whatsapp.py@@@ -53,8 -75,18 +77,20 @@@ class WhatsAppChannel(BaseChannel)self._ws = Noneself._connected = Falseself._processed_message_ids: OrderedDict[str, None] = OrderedDict()+ self.transcription_api_key = config.transcription_api_key+ self.transcription_provider = config.transcription_provider+ self._bridge_token: str | None = None++ def _effective_bridge_token(self) -> str:+ """Resolve the bridge token, generating a local secret when needed."""+ if self._bridge_token is not None:+ return self._bridge_token+ configured = self.config.bridge_token.strip()+ if configured:+ self._bridge_token = configured+ else:+ self._bridge_token = _load_or_create_bridge_token(_bridge_token_path())+ return self._bridge_tokenasync def login(self, force: bool = False) -> bool:"""