-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
导入章节时提示400参数错误,已经设置了stream=False
npx inkos import chapters --from D:\book\世界.txt
Found 549 chapters to import into "-future-".
INFO [import] Step 1: Generating foundation from 549 chapters...
[ERROR] Chapter import failed: Error: API 返回 400 (请求参数错误)。可能原因:
- 模型名称不正确(检查 INKOS_LLM_MODEL)
- 提供方不支持某些参数(如 max_tokens、stream)
- 消息格式不兼容(部分提供方不支持 system role)
建议:在 inkos.json 中设置 "stream": false 试试,或检查提供方文档
(baseUrl: https://api.deepseek.com/v1, model: deepseek-chat)
我换了硅基流动的minimax也是这样,换成GLM-5会报503错误。用doctor检测都可以联通,但是用这个导入章节就不行
Steps to reproduce
我续写的书大约是500章,不知道有没有这方面原因。
Expected behavior
本来应该是能正常导入吧这个
InkOS version
0.4.5
Operating system
Windows (native)
LLM provider / model
No response
Relevant logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working