mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #14046] [CLOSED] feat(api-keys): implement multi-API key management with selection str… #46415
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/14046
Author: @abdalrohman
Created: 5/19/2025
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (4)
297f345feat(api-keys): implement multi-API key management with selection strategies2caae01fix(ui): resolve TypeScript type assertion issue in ApiKeyManager component6254608fix(components): Resolve UI issues with API key management and i18ne5b0519Merge branch 'open-webui:dev' into dev📊 Changes
7 files changed (+1011 additions, -15 deletions)
View changed files
📝
backend/open_webui/env.py(+1 -0)📝
backend/open_webui/routers/openai.py(+148 -5)➕
backend/open_webui/utils/api_key_selection.py(+266 -0)➕
docs/api-key-management.md(+127 -0)📝
src/lib/components/AddConnectionModal.svelte(+78 -10)➕
src/lib/components/common/ApiKeyManager.svelte(+153 -0)➕
src/lib/utils/apiKeySelection.ts(+238 -0)📄 Description
implement multi-API key management with selection strategies
Overview
This PR introduces multi-API key management system for Open WebUI, allowing users to configure multiple API keys for providers and select between different key selection strategies.
Key Features
Technical Implementation
Status: Initial Implementation
This PR represents the initial implementation of the multi-API key management feature. While functional, it requires further work before being considered production-ready:
Future Enhancements
We welcome feedback and contributions to help evolve this feature into a robust solution for the Open WebUI ecosystem.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.