浏览代码

调整

undefined
J1147 1 天前
父节点
当前提交
3f73cf6b0b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      app/endpoints/pipeline_endpoint.py

+ 3
- 3
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)


正在加载...
取消
保存