From f53d9123c7311c33ffefc593ad32d36e0a1f53b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=85=E8=AF=BA=E7=8B=90?= <212194964+foxcyber907@users.noreply.github.com> Date: Tue, 12 Aug 2025 18:53:46 +0800 Subject: [PATCH] Update send_api.py --- src/plugin_system/apis/send_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin_system/apis/send_api.py b/src/plugin_system/apis/send_api.py index e5b5869a3..61767380b 100644 --- a/src/plugin_system/apis/send_api.py +++ b/src/plugin_system/apis/send_api.py @@ -475,8 +475,8 @@ async def adapter_command_to_stream( logger.debug(f"[SendAPI] 已发送适配器命令,等待响应...") # 等待适配器响应 - response = await wait_adapter_response(message_id, timeout) - + response = asyncio.create_task(wait_adapter_response(message_id, timeout)) + logger.debug(f"[SendAPI] 收到适配器响应: {response}") return response