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