From 5ff2a1861248297a66ff364aa9cfbd500d692127 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 9a1ce212f..a7490a21e 100644 --- a/src/plugin_system/apis/send_api.py +++ b/src/plugin_system/apis/send_api.py @@ -522,8 +522,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