Files
hermes-agent/tests/tools
alt-glitch e6c993185d
Some checks failed
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
auto-fix lint issues & formatting / Generate eslint --fix patch (push) Has been cancelled
auto-fix lint issues & formatting / Apply patch (push) Has been cancelled
Skills Index Freshness Check / check-freshness (push) Has been cancelled
Skills Index Freshness Check / check-catalog-cors (push) Has been cancelled
refactor(read_file): one description, with or without hosted OCR
read_file told the model "PDF (scanned or text)" when a Firecrawl key was
set and "PDF (text layer)" otherwise. The phrase changed nothing the tool
does: a scanned page is sent to hosted OCR at read time when the key is
set (read_extract._ocr_scanned_pdf), and the NEEDS-OCR warning names the
missing pages when it is not.

Delete the schema override and its probe, hosted_ocr_available. Every
session now gets "PDF (text layer)", the text the committed prompt
snapshot already holds. The gate test reads _hosted_ocr_config, the
function the read path itself calls.
2026-11-30 17:15:07 +05:30
..