haiku.rag/haiku_rag_slim/haiku
Yiorgis Gozadinos d2f5ecfc58
Prevent magic-byte sniffing from misrouting text conversion in docling-local
Docling guesses a DocumentStream's format from its first bytes before
considering the extension, so markdown/HTML content starting with a binary
magic signature ("BM" = BMP, "ID3" = MP3) was routed to an image or audio
backend and fell back to plain-text conversion. Prefix the encoded text
with a newline so the sniff finds nothing and the extension decides.
2026-07-15 19:20:54 +03:00
..
rag Prevent magic-byte sniffing from misrouting text conversion in docling-local 2026-07-15 19:20:54 +03:00