常见问题
酒馆安装时报错Extension installation failed、 LittleWhiteBox update failed:
Q1:
Directory already exists at public/scripts/extensions/third-party/LittleWhiteBoxA1:请前往宿主机酒馆目录:public/scripts/extensions/third-party/,删除 LittleWhiteBox 文件夹,然后再重新安装一次。
Q2:
Server Error: Error: spawn git ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:89:21)A2:这是一个 Git 未安装或未配置 的错误。请确保你的宿主机已经安装了 Git,并且可以在终端中运行 git --version 命令。
安装 Git:
Windows
-
下载安装:
https://git-scm.com/download/win -
安装时选择 “Add Git to PATH”
Q3:
Server Error: Cloning into'publiclscriptslextensions\third- party\LittleWhiteBox...fatal: unable to access
'https://littlewhitebox.velure.top/RT 15548/LittleWhiteBox/': Could not resolve host:
`littlewhitebox.velure.top`
A3:请前往酒馆的扩展管理器-删除小白X插件,然后从:
Github
https://github.com/RT15548/LittleWhiteBox重新安装小白X插件。
Q4:
Internal Server Error. Check the server logs for more details.A4: 请前往酒馆的扩展管理器-删除小白X插件,然后从:
Github
https://github.com/RT15548/LittleWhiteBox重新安装小白X插件。
Q5:
Server Error:
Cloning into'publiclscriptslextensions\third- partyALittleWhiteBox...fatal: unable to access'https://github.com/RT15548/LittleWhiteBox/': Failed to connect to github.com port 443 after 2067 ms: Could not connect to serverA5: 这是 无法连接到 GitHub 的网络问题,在中国大陆访问 GitHub 经常不稳定或被阻断。请使用国内仓库:
https://gitcode.com/kazoaa/LittleWhiteBox下载小白X。
总结
Q1: 使用不了,总结了等了一会就自动失败了:
A1: 模型[输出长度]output的限制,当completion_tokens: 为2500-3300左右,渠道就会自动切断(在酒馆有容错,表现得不明显,看起来像中断让用户RP)
请检查一下渠道供应商的AI输出长度限制,支持3000Tokens以上的输出长度。
或者,
请到:public\scripts\extensions\third-party\LittleWhiteBox\modules\story-summary\llm-service.js这个文件,然后把里面的这句话:
怎么截断了!重新完整生成,只输出JSON,不要任何其他内容替换为:
怎么截断了!重新完整生成,只输出JSON,不要任何其他内容,务必维持1500token以内结束JSON。