Commit Graph

2 Commits

Author SHA1 Message Date
cthomas
c05f3cec0b fix: wrap markitdown PDF processing in asyncio.to_thread (#8614)
MarkItDown.convert() does blocking file I/O and CPU-intensive PDF parsing.
This was blocking the event loop during file uploads.

Now wraps the entire markitdown pipeline (tempfile write, convert, cleanup)
in asyncio.to_thread() to run in thread pool.

🐾 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-01-19 15:54:37 -08:00
Sarah Wooders
5e9231095a feat: support markitdown instead of mistral (#3451)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-22 09:58:18 -07:00