From dfca5cdb795332b5e444b674aaec4e8504a75aed Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 7 Apr 2026 18:26:27 +0800 Subject: [PATCH] fix: improve warning message for missing context token in WeixinOCAdapter --- astrbot/core/platform/sources/weixin_oc/weixin_oc_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/platform/sources/weixin_oc/weixin_oc_adapter.py b/astrbot/core/platform/sources/weixin_oc/weixin_oc_adapter.py index abb4c9599..b317cb5b8 100644 --- a/astrbot/core/platform/sources/weixin_oc/weixin_oc_adapter.py +++ b/astrbot/core/platform/sources/weixin_oc/weixin_oc_adapter.py @@ -782,7 +782,7 @@ class WeixinOCAdapter(Platform): context_token = self._context_tokens.get(user_id) if not context_token: logger.warning( - "weixin_oc(%s): context token missing for %s, skip send", + "weixin_oc(%s): context token missing for %s, skip send. You should send one message to refresh context_token.", self.meta().id, user_id, )