This release improves the robustness of LLM-enhanced table of contents analysis. When the upstream LLM request fails, pdf-craft now falls back to the traditional statistical TOC analysis flow instead of aborting the EPUB conversion.
What's Changed
Bug Fixes
- TOC LLM fallback reliability in #357
- Wrapped request-time exceptions raised during TOC LLM analysis as
LLMAnalysisError - Allows the existing fallback path in TOC analysis to handle upstream request failures consistently
- Fixes cases where 4xx responses or other non-retryable request errors could abort conversion instead of falling back
- Wrapped request-time exceptions raised during TOC LLM analysis as
Full Changelog: v1.0.12...v1.0.13