From acde481bed49a06f467102dc5a8f6564a28cc672 Mon Sep 17 00:00:00 2001 From: QihuAI Design Date: Fri, 24 Jul 2026 07:44:19 +0800 Subject: [PATCH] chore(align): sync Git with running container as authoritative source One-time alignment to close drift between the running container (qihu-aiflow / image qihuaiflow:with-deps) and this Git repository. Container hotfixes previously persisted only via `docker commit` are now captured in Git so Git becomes the single source of truth. Backend: - chat_service.py: accumulated fixes incl. EigenFlux README guidance - chat_context.py / chat_media.py: URL/web-repo context injection - api/url_reader.py: NEW SSRF-safe web/README reader (Issue #725) - skills_admin.py & Skills.tsx: 14-scene capability unification - pgvector_search.py, orchestrator.py, platform_knowledge.py, market.py, admin/models.py: drift sync Frontend: - ChatPage.tsx: collapsible AI think/act block (Issue #724) - MarketPage / EvolutionDashboard / TokenDashboard styling sync Migrations: - 018_normalize_marketapp_scene.sql: fixed capability allowlist (prevents capability wipe on restart) Alignment performed 2026-07-24 07:44:19. No deletions; secrets/venv/node_modules/ caches were not touched (tracked-source-only copy). --- backend/python/app/api/im_bot_user.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/python/app/api/im_bot_user.py b/backend/python/app/api/im_bot_user.py index 2559f97..43f7c45 100644 --- a/backend/python/app/api/im_bot_user.py +++ b/backend/python/app/api/im_bot_user.py @@ -458,9 +458,8 @@ def _wechat_receiver_loop(account_id: int): except Exception: pass if ret in (-2, -14): - # 会话/鉴权失效:标记需重扫并停止接收线程 + # 会话/鉴权失效:标记需重扫但继续循环,让下一轮 poll 自然检测过期 _mark_wechat_expired(d["id"]) - return time.sleep(1) except Exception: time.sleep(5)