mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
[PR #8637] [MERGED] feat:add GCSStorageProvider #9057
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8637
Author: @kahghi
Created: 1/17/2025
Status: ✅ Merged
Merged: 1/22/2025
Merged by: @tjbck
Base:
dev← Head:add-gcs-storage-provider📝 Commits (10+)
42b7bebadd GCSStorageProvider8efc543added google-cloud-storage package, added gcs related functions1764de4updated to use credentials json, tested with local built image and upload to gcs works49f31ddadded alternative storage client instantiation method, corrected filepaths, added missing type hinting44574c4removed unnecessary GCS_PROJECT_ID variable4b56c15test_upload_file working, added gcp-storage-emulator, updated gcs client instantiation55cc127gcs tests pass, updated get_file and delete_file to retrieve blob instead of instantiating blobb1887feadded suggestions4aa9b8dremoved unused pytest-env and importsa93124ctidied up test fixture for gcp storage emulator📊 Changes
6 files changed (+1983 additions, -1160 deletions)
View changed files
📝
backend/open_webui/config.py(+3 -0)📝
backend/open_webui/storage/provider.py(+67 -1)📝
backend/open_webui/test/apps/webui/storage/test_provider.py(+95 -1)📝
backend/requirements.txt(+1 -0)📝
pyproject.toml(+3 -2)📝
uv.lock(+1814 -1156)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.