From da56319f85d6ec9667a7c375a64a6a2bc3c13aad Mon Sep 17 00:00:00 2001 From: "mark.tian" Date: Thu, 4 Dec 2025 08:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 869e868..241ea83 100644 --- a/app/routes.py +++ b/app/routes.py @@ -185,7 +185,7 @@ async def ai_talk_callback( # 异步调用外部接口,不等待结果(只有在成功获取callback_log_id时才调用) if success and callback_log_id: import asyncio - asyncio.create_task(process_external_api_call(db, callback_data, siteId, callback_log_id)) + asyncio.create_task(process_external_api_call(db, callback_log_id, siteId)) else: logger.info(f"🔌 外部API调用已禁用,直接返回成功")