mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #2184] Persistently Store OpenAI and OpenAI-Compatible API Keys Across Server Restarts #12785
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?
Originally created by @SomaRe on GitHub (May 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2184
Is your feature request related to a problem? Please describe.
Currently, when the server restarts, all the configured OpenAI and OpenAI-compatible APIs and their corresponding API keys are lost. This requires manually re-adding and configuring each API after every restart, which can be a tedious and time-consuming process, especially if new API keys need to be generated.
Describe the solution you'd like
The desired solution is to provide a persistent storage mechanism for OpenAI and OpenAI-compatible API keys, similar to how the ollama API is handled. This would allow the system to retain the configured APIs and their respective API keys across server restarts, eliminating the need for manual reconfiguration after each restart.
@silentoplayz commented on GitHub (May 11, 2024):
This is related to save UI config changes to config.json - #2156.
@silentoplayz commented on GitHub (May 11, 2024):
Also related to persist settings to backend - #1022.