Skip to content

Fix: await Files API calls (async in OWUI 0.6.14+); resolve export di… - #1

Open
hjbarraza wants to merge 1 commit into
ianustec:mainfrom
hjbarraza:fix/async-files-api-save
Open

hjbarraza wants to merge 1 commit into
ianustec:mainfrom
hjbarraza:fix/async-files-api-save

Conversation

@hjbarraza

Copy link
Copy Markdown

…r from DATA_DIR

Users.get_user_by_id and upload_file_handler are async def in Open WebUI 0.6.14. Calling them without await returned truthy coroutines, so the Files API save silently no-oped and no exception was ever raised.

The fallback export dir was hardcoded to the Docker-image path /app/backend/data/cache/files, which does not match CACHE_DIR on pip/venv installs, so the resulting /cache/files/... link 404'd.

…r from DATA_DIR

Users.get_user_by_id and upload_file_handler are async def in Open WebUI
0.6.14. Calling them without await returned truthy coroutines, so the
Files API save silently no-oped and no exception was ever raised.

The fallback export dir was hardcoded to the Docker-image path
/app/backend/data/cache/files, which does not match CACHE_DIR on
pip/venv installs, so the resulting /cache/files/... link 404'd.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant