소스 검색

调整

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…
취소
저장