瀏覽代碼

调整

1257
H Vs 2 週之前
父節點
當前提交
bd624a88a2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/endpoints/pipeline_endpoint.py

+ 1
- 1
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回答<不回复>,跳过微信回复")


Loading…
取消
儲存