mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #7900] [MERGED] feat: Add Google Drive integration for Open-Webui #37759
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/7900
Author: @taylorwilsdon
Created: 12/16/2024
Status: ✅ Merged
Merged: 12/19/2024
Merged by: @tjbck
Base:
dev← Head:add_google_drive_integration📝 Commits (10+)
61b1a8ffeat: Add Google Drive file picker integration to chat interfacef566c59feat: Add Google Drive picker button to MessageInput component90e7060feat: Add Google Drive upload option to InputMenu7bc1876fix: Resolve Google Drive picker promise with file data1cd43b1feat: Import createPicker function in InputMenu componentb2dc6fefix: Improve Google Drive picker API loading and error handlingeed7cfdrefactor: Remove unused Google Drive picker imports from Chat.svelte8550810fix: Improve Google Drive picker initialization and error handlingf29dc2ffix: Add missing import for createPicker in MessageInput.sveltea0ba597feat: Add credential validation for Google Drive API initialization📊 Changes
15 files changed (+770 additions, -285 deletions)
View changed files
📝
backend/open_webui/config.py(+19 -0)📝
backend/open_webui/main.py(+9 -0)📝
backend/open_webui/routers/knowledge.py(+19 -16)📝
backend/open_webui/routers/retrieval.py(+9 -0)📝
backend/open_webui/static/swagger-ui/swagger-ui-bundle.js(+28 -34)📝
backend/requirements.txt(+5 -0)📝
package-lock.json(+11 -9)📝
src/lib/apis/retrieval/index.ts(+1 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+219 -195)📝
src/lib/components/chat/Chat.svelte(+127 -0)📝
src/lib/components/chat/MessageInput.svelte(+41 -4)📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+42 -2)📝
src/lib/stores/index.ts(+1 -0)➕
src/lib/utils/google-drive-picker.ts(+212 -0)📝
src/lib/utils/index.ts(+27 -25)📄 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
Additional Information
See discussion #4079
Screenshots or Videos
Video:
https://github.com/user-attachments/assets/863fecc0-4217-43b5-9fde-698404df42a9
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.