Improve EPUB restoration, book terminology and Calibre QA workflow

This commit is contained in:
Kai Tan
2026-10-08 07:25:27 +08:00
parent 40491e6386
commit caf9d8f4bb
35 changed files with 1439 additions and 959 deletions
+9 -2
View File
@@ -10,8 +10,10 @@ llm:
base_url: "https://openrouter.ai/api/v1"
# Timeout for API requests in seconds
timeout: 60
timeout: 180
max_output_tokens: 16000
# Rate Limiting
requests_per_minute: 60
concurrent_requests: 4
@@ -19,7 +21,12 @@ llm:
# Translation Settings
translation:
# Characters per chunk (approximate)
chunk_size: 6000
chunk_size: 24000
validation_retries: 2
auto_glossary: true
glossary_scan_chars: 24000
# Per-book JSON glossary takes precedence over automatically discovered terms.
# glossary_path: config/glossary.my-book.json
# System prompt instruction file (optional, overrides default if present)
# style_guide_path: "config/style_guide.txt"