This commit is contained in:
jonathang4 2025-10-10 19:35:09 +08:00
parent 7d07d75c19
commit c79b99410b

View File

@ -238,9 +238,9 @@ export async function generateImages(
aid: Number(DEFAULT_ASSISTANT_ID), aid: Number(DEFAULT_ASSISTANT_ID),
}, },
}, },
}); });
logger.info(`1 图片生成查询 ${historyId} `);
// logger.log(`图片生成查询 ${historyId} errmsg: ${result.errmsg}`); logger.log(`2 图片生成查询 ${historyId} `);
if (!result[historyId]) if (!result[historyId])
throw new APIException(EX.API_IMAGE_GENERATION_FAILED, "记录不存在"); throw new APIException(EX.API_IMAGE_GENERATION_FAILED, "记录不存在");
status = result[historyId].status; status = result[historyId].status;