koishijs / novelai-bot

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

Feat: list ckpt, lora, lyco, embedding, hypernetwork and inspect model details #206

Closed Ninzore closed 3 months ago

Ninzore commented 1 year ago

Add a new command lsmd Solve https://github.com/koishijs/novelai-bot/issues/165

Ninzore commented 1 year ago

2 Unneccesary changes are marked at the below, you should apply format changes in a separated PR.

I applied eslint config from @koishijs/eslint-config

Should use i18n API to construct the message rather than manually concatenate strings.

Fixed

getLycoList is defined but not got used, you missed it?

In the testing, I found the lora endpoint already return lora and lyco, so I don't need to use getLycoList function anymore, I leave it there just in case

MaikoTan commented 1 year ago

Can you address these suggestions?