koishijs / novelai-bot

Generate images by NovelAI | 基于 NovelAI 的画图机器人
https://bot.novelai.dev
MIT License
2.49k stars 204 forks source link

Bug: 默认分辨率配置项消失 #226

Closed MirrorCY closed 8 months ago

MirrorCY commented 9 months ago

Describe the bug

插件配置中的 resolution 选项消失,dev 环境下正常

感觉上是 schemastery 的问题,可能不需要在此修改代码

Steps to reproduce

yarn clone koishijs/novelai-bot
yarn dev // 此时可以在插件配置中看到 resolution 选项
yarn build
yarn start // resolution 消失了

Expected behavior

prod 与 dev 行为一致 或 resolution 选项正确显示

Screenshots

dev image prod image

Relevant log output

No response

Launcher

Koishi CLI (koishi start)

Backend

NovelAI (帐号密码)

Versions

Additional context

No response

MirrorCY commented 9 months ago

忽略截图中其余部分的不同,不是一个环境

Fubuki171 commented 9 months ago

期待修复

MaikoTan commented 8 months ago

Upstream bug related to https://github.com/koishijs/koishi/issues/1382

Please follow there.