Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI API keys should be addressed with templates #169

Open
0xThresh opened this issue Feb 14, 2025 · 0 comments
Open

OpenAI API keys should be addressed with templates #169

0xThresh opened this issue Feb 14, 2025 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@0xThresh
Copy link
Collaborator

Currently, the only way to set OPENAI_API_KEY or OPENAI_API_KEYS variables is through the extraEnvVars value on the chart. While this works, it would be better to have dedicated values for those environement variables, similar to what's in place for the OPENAI_API_BASE_URL and OPENAI_API_BASE_URLS variables.

Without setting these in the templates, a handful of issues can occur:

  1. There is no obvious way to match up API key/ API endpoint pairs. Instead, you have to match up the API URL and key as the same index in their respective lists.
  2. While the URL variables will set the value, users will have issues making use of those endpoints until keys are set manually through extraEnvVars or in the Admin Settings after starting Open WebUI.
@0xThresh 0xThresh added enhancement New feature or request help wanted Extra attention is needed labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant