From b393ec8d92a2735f4d19d4e5a2dd0fbfb039aa0a 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:58:19 +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 a7490a21e..9a1ce212f 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 = asyncio.create_task(wait_adapter_response(message_id, timeout)) - + response = await wait_adapter_response(message_id, timeout) + logger.debug(f"[SendAPI] 收到适配器响应: {response}") return response