mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 14:09:29 +08:00
Local parse failures were flattened into one 'Ensure MinerU is installed or switch to cloud mode' error even when the CLI existed and the run failed at runtime, and the captured stderr tail only reached the server console. Map each LocalParseReason to its own MinerUError message (install hint only for cli_missing, stderr tail for nonzero_exit) and carry code/detail on MinerUError. The four white-box tests that injected the old bool function now inject parse_document_with_mineru_result; assertions are unchanged.