From bd624a88a2aa868db23a761f1e8e784c458fbd1d Mon Sep 17 00:00:00 2001 From: H Vs Date: Mon, 7 Apr 2025 14:40:26 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/endpoints/pipeline_endpoint.py b/app/endpoints/pipeline_endpoint.py index 0d8ad96..03e8300 100644 --- a/app/endpoints/pipeline_endpoint.py +++ b/app/endpoints/pipeline_endpoint.py @@ -532,7 +532,7 @@ async def ai_chat_text_async(request: Request,token_id, app_id, wxid, msg_data, await asyncio.sleep(random.uniform(1.5, 3)) else: - if reply_content=='不回复': + if reply_content in '不回复': end_time = time.time() # 记录任务结束时间 execution_time = end_time - start_time # 计算执行时间 logger.warning(f"AI回答任务完成,耗时 {execution_time:.2f} 秒,AI回答<不回复>,跳过微信回复")