mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-28 01:31:28 +00:00
Storage.get_file and local file reads can perform sync network/disk I/O for remote backends (S3/GCS/Azure), stalling the event loop during chat-triggered uploads. Run them via asyncio.to_thread and pass bytes to the FormData field instead of a sync file handle. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| builtin.py | ||