issue: Where do you set OPENAI_API_KEY from the UI? #4431

Closed
opened 2025-11-11 15:53:57 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @AlbertoSinigaglia on GitHub (Mar 14, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.5.20

Ollama Version (if applicable)

Operating System

Browser (if applicable)

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

In the doc it's written that OPENAI_API_KEY is a PersistentConfig, and that You can update the values of PersistentConfig environment variables directly from within Open WebUI... however, I've looked in the Admin panel, and I cannot find anywhere where you set this key... am I missing something?

Actual Behavior

No OPENAI_API_KEY in sight in the admin panel

Steps to Reproduce

setup openweb ui and look for OPENAI_API_KEY

Logs & Screenshots

Ain't no logs

Additional Information

No response

Originally created by @AlbertoSinigaglia on GitHub (Mar 14, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.5.20 ### Ollama Version (if applicable) - ### Operating System - ### Browser (if applicable) - ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior In the [doc](https://docs.openwebui.com/getting-started/env-configuration/#openai_api_key) it's written that `OPENAI_API_KEY` is a `PersistentConfig`, and that _You can update the values of `PersistentConfig` environment variables directly from within Open WebUI_... however, I've looked in the Admin panel, and I cannot find anywhere where you set this key... am I missing something? ### Actual Behavior No `OPENAI_API_KEY` in sight in the admin panel ### Steps to Reproduce setup openweb ui and look for `OPENAI_API_KEY` ### Logs & Screenshots Ain't no logs ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 15:53:57 -06:00
Author
Owner

@AlbertoSinigaglia commented on GitHub (Mar 14, 2025):

opsssss completely missed the meaning of that variable

@AlbertoSinigaglia commented on GitHub (Mar 14, 2025): opsssss completely missed the meaning of that variable
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4431