mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #6950] [CLOSED] feat: Ability to configure the use of private API keys in an environment #8779
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/6950
Author: @antpyykk-kone
Created: 11/14/2024
Status: ❌ Closed
Base:
dev← Head:feature/config-private-api-key-use📝 Commits (2)
a9ccac4feat: support for configuring private api key useca4baf8i18n: add translations for api key use📊 Changes
52 files changed (+152 additions, -79 deletions)
View changed files
📝
backend/open_webui/apps/webui/main.py(+2 -0)📝
backend/open_webui/apps/webui/routers/auths.py(+6 -1)📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/constants.py(+2 -0)📝
backend/open_webui/main.py(+1 -0)📝
backend/open_webui/utils/utils.py(+4 -0)📝
src/lib/components/chat/Settings/Account.svelte(+86 -78)📝
src/lib/i18n/locales/ar-BH/translation.json(+1 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+1 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+1 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+1 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+1 -0)📝
src/lib/i18n/locales/da-DK/translation.json(+1 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+1 -0)📝
src/lib/i18n/locales/dg-DG/translation.json(+1 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+1 -0)📝
src/lib/i18n/locales/en-US/translation.json(+1 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+1 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+1 -0)📝
src/lib/i18n/locales/fi-FI/translation.json(+1 -0)...and 32 more files
📄 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
ENABLE_API_KEY_AUTHto control private API key use in an environment.Changed
ENABLE_API_KEY_AUTHconfig is disabledENABLE_API_KEY_AUTHconfig is disabledENABLE_API_KEY_AUTHconfig is disabledAdditional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.