koishi-plugin-p-draw 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3050,7 +3050,7 @@ exports.apply = async function apply(ctx, cfg) {
|
|
|
3050
3050
|
logger.warn(`上传原图失败:${e.message}`)
|
|
3051
3051
|
return session.text('.i2i-upload-fail', [e.message])
|
|
3052
3052
|
}
|
|
3053
|
-
if (cfg.outputLogs) logger.info(`[p-draw] i2i ${session.userId} 原图已上传:${uploadName}
|
|
3053
|
+
if (cfg.outputLogs) logger.info(`[p-draw] i2i ${session.userId} 原图已上传:${uploadName}`)
|
|
3054
3054
|
|
|
3055
3055
|
// 能力检测(ControlNet / Anima IP-Adapter)
|
|
3056
3056
|
const caps = await detectI2ICapabilities()
|
|
@@ -3071,6 +3071,7 @@ exports.apply = async function apply(ctx, cfg) {
|
|
|
3071
3071
|
if (mode === 'style') await session.send(session.text('.i2i-mode-style'))
|
|
3072
3072
|
if (mode === 'ootd') await session.send(session.text('.i2i-mode-ootd'))
|
|
3073
3073
|
}
|
|
3074
|
+
if (cfg.outputLogs) logger.info(`[p-draw] i2i ${session.userId} 模式=${mode} ControlNet=${caps.controlNet.available ? caps.controlNet.model : '-'} IPAdapter=${caps.ipAdapter.available ? 'on' : 'off'}`)
|
|
3074
3075
|
|
|
3075
3076
|
// 所选模式依赖的节点缺失时给出提示(仍会回退普通 img2img,不中断)
|
|
3076
3077
|
const notices = []
|