Commit Graph

7 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
Matthew Zhou
e0c688dc32 feat: Add telemetry for file uploads (#3128) 2025-07-01 16:19:58 -07:00
Matthew Zhou
698d99a66e feat: Ungate file upload for simple MIME types even without Mistral API key (#2898) 2025-06-18 15:11:30 -07:00
Matthew Zhou
2568039ab9 feat: Add code file support to file uploads (#2702) 2025-06-07 23:45:30 -07:00
Matthew Zhou
f8e2185f37 feat: Add support for simple text files (#2630) 2025-06-04 14:36:25 -07:00
Matthew Zhou
9c44b9ae6a feat: Add mistral for cloud document parsing (#2562) 2025-05-30 21:06:28 -07:00