Skip to content

inkos book create 创建失败,报错Architect output missing required section: book_rules #151

@smileQiny

Description

@smileQiny

What happened?

MacBook-Pro inkos % inkos book create --title '废土-天堂世界' --target-chapters 200 --chapter-words 5000 --genre other
创建书籍 "废土-机甲世界"(other / tomato)...
INFO [inkos] 阶段:生成基础设定
(node:15280) ExperimentalWarning: SQLite is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
INFO [inkos] streaming 30s, 1115 chars (850 CJK)
INFO [inkos] streaming 60s, 2237 chars (1753 CJK)
INFO [inkos] streaming 90s, 3518 chars (2772 CJK)
INFO [inkos] streaming 120s, 4719 chars (3712 CJK)
[ERROR] Failed to create book: Error: Architect output missing required section: book_rules

Steps to reproduce

  1. inkos book create --title '废土-天堂世界' --target-chapters 200 --chapter-words 5000 --genre other 异常报错[ERROR] Failed to create book: Error: Architect output missing required section: book_rules
  2. 版本1.10
  3. 问题分析:
    应该是模型生成SECTION: book_rules 生成其他格式例如
    === SECTION: book-rules ===
    === Section:Book Rules ===
    导致了section 标题识别错误

Expected behavior

建议不要使用模型生成SECTION: book_rules ,否则没法统一

InkOS version

1.1.0

Operating system

macOS

LLM provider / model

cluade-sonnet-4.6

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions