From 3f73cf6b0b033d2e92984ca9e76b0ffaef2b4b39 Mon Sep 17 00:00:00 2001 From: J1147 Date: Tue, 6 May 2025 19:14:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/endpoints/pipeline_endpoint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/endpoints/pipeline_endpoint.py b/app/endpoints/pipeline_endpoint.py index 56babc9..04ccc3c 100644 --- a/app/endpoints/pipeline_endpoint.py +++ b/app/endpoints/pipeline_endpoint.py @@ -377,9 +377,9 @@ async def handle_text_async(request: Request,token_id,app_id, wxid,msg_data,from logger.warning(f"智能体微信号 {wxid} 关闭好友和群自动回复功能,{handle_text_async.__name__} 不回复消息") return - if wxid != from_wxid and from_wxid not in validated_config.privateChatWhiteList: - logger.warning(f"智能体微信号 {wxid} 的好友 {from_wxid} 不在回复白名单,{handle_text_async.__name__} 不回复消息") - return + # if wxid != from_wxid and from_wxid not in validated_config.privateChatWhiteList: + # logger.warning(f"智能体微信号 {wxid} 的好友 {from_wxid} 不在回复白名单,{handle_text_async.__name__} 不回复消息") + # return # 判断是否转人工处理功能 is_human_handle_msg= await request.app.state.gewe_service.is_human_handle_msg_with_contact_wxid_async(wxid,from_wxid)