mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[PR #24037] [CLOSED] Enable API Key Management endpoints #43119
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/24037
Author: @lewismacnow
Created: 4/23/2026
Status: ❌ Closed
Base:
main← Head:feat/failover-providers📝 Commits (10+)
5373b6fEnable API Key Management endpointsc91a94dEnable API key management without need for API Env Var8bf322eOmit content from the /api/v1/knowledge/{id}/filesef799d1Adding tweaks to omit content from both knowledge files and files APIs using metadata_only view_option2d5f810increase weaviate timeouts51d5b0cweaviate larger connection pool5efcb60revert connection config for weaviate5acd618Add pagination to files API1809980correcting files routerdb04ccbbackend/open_webui/env.py (9 lines added)📊 Changes
29 files changed (+1641 additions, -187 deletions)
View changed files
📝
Dockerfile(+2 -2)📝
backend/open_webui/config.py(+23 -0)📝
backend/open_webui/env.py(+9 -0)📝
backend/open_webui/main.py(+14 -0)📝
backend/open_webui/models/files.py(+36 -0)📝
backend/open_webui/models/knowledge.py(+11 -16)📝
backend/open_webui/models/models.py(+28 -0)📝
backend/open_webui/retrieval/utils.py(+24 -1)📝
backend/open_webui/retrieval/vector/dbs/weaviate.py(+10 -1)📝
backend/open_webui/routers/files.py(+44 -21)📝
backend/open_webui/routers/knowledge.py(+7 -15)📝
backend/open_webui/routers/ollama.py(+11 -0)📝
backend/open_webui/routers/openai.py(+264 -84)📝
backend/open_webui/routers/retrieval.py(+8 -0)📝
backend/open_webui/routers/users.py(+76 -1)➕
backend/open_webui/utils/failover.py(+225 -0)📝
backend/open_webui/utils/middleware.py(+118 -5)➕
backend/open_webui/utils/provider_health.py(+193 -0)📝
backend/open_webui/utils/session_pool.py(+93 -0)📝
backend/requirements.txt(+3 -3)...and 9 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.