Update send_api.py

This commit is contained in:
雅诺狐
2025-08-12 18:58:19 +08:00
committed by Windpicker-owo
parent 7c9eaa5d34
commit ec876d1518

View File

@@ -475,7 +475,7 @@ async def adapter_command_to_stream(
logger.debug(f"[SendAPI] 已发送适配器命令,等待响应...") 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}") logger.debug(f"[SendAPI] 收到适配器响应: {response}")