koishijs/novelai-bot

Bug: TypeError: Cannot read properties of undefined

Kabuda-czh opened this issue · 2 comments

Describe the bug

无法找到默认配置项目, 导致插件崩溃无法正常使用

Steps to reproduce

  • 下载 novelai 1.17.0
  • 选择 typesd-webui
  • 填写必填项目 endpoint
  • 保存配置并启动 即可出现报错

Expected behavior

填写完必选项后, 能够正常启动并使用

Screenshots

No response

Relevant log output

No response

Launcher

Koishi Desktop

Backend

Stable Diffusion WebUI (AUTOMATIC1111)

Versions

  • OS: Windows 11
  • Adapter: OneBot
  • Node version: 18.13.0
  • Koishi version: 4.17.0

Additional context

No response

A temporary fix for this is open your koishi.yml file, find novelai: section and add the following under it.

features:
  anlas: true
  upscale: true

已修复。请更新到 1.17.2 版本。