agent-zero/plugins/_document_query/helpers
Alessandro 9e4b2f1843 Tune LiteParse OCR defaults
Add an adaptive OCR heuristic that samples PDF text density and disables LiteParse OCR for large text-rich PDFs before the OCR path reaches timeout territory.

Keep LiteParse isolated in a subprocess regardless of stale user config, remove the subprocess toggle from the settings UI, and raise the default LiteParse worker count to 2 for a safer multi-chat speedup.

Update Document Query docs and focused tests for the new heuristic, mandatory isolation, and worker default.
2026-05-30 19:02:10 +02:00
..
parsers Tune LiteParse OCR defaults 2026-05-30 19:02:10 +02:00
__init__.py feat: extract document_query into _document_query plugin with parser strategy pattern 2026-05-29 12:45:05 +02:00
document_query.py fix(document_query): isolate LiteParse parsing 2026-05-29 15:51:59 +02:00
fetch.py feat(document_query): add liteparse runtime and progressive skill 2026-05-29 12:45:14 +02:00