[PR #5847] [CLOSED] Feature Request: Include GenericOpenAi LLM Provider #8562

Closed
opened 2025-11-11 17:59:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/5847
Author: @actus7
Created: 10/1/2024
Status: Closed

Base: mainHead: add-generic-openai


📝 Commits (1)

  • 793e7e0 Feature Request: Include GenericOpenAi LLM Provider

📊 Changes

3 files changed (+189 additions, -1 deletions)

View changed files

📝 backend/open_webui/apps/openai/main.py (+91 -1)
📝 backend/open_webui/config.py (+28 -0)
frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx (+70 -0)

📄 Description

Fixes #5846

Add support for GenericOpenAi LLM provider in the open-webui project.

  • Backend Changes:

    • Add environment variables GENERIC_OPEN_AI_BASE_PATH, GENERIC_OPEN_AI_API_KEY, GENERIC_OPEN_AI_MODEL_PREF, and GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT in backend/open_webui/config.py.
    • Implement GenericOpenAi LLM provider in backend/open_webui/apps/openai/main.py using the new environment variables.
  • Frontend Changes:

    • Add frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx to include input fields for GENERIC_OPEN_AI_BASE_PATH, GENERIC_OPEN_AI_API_KEY, GENERIC_OPEN_AI_MODEL_PREF, and GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT.

For more details, open the Copilot Workspace session.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/5847 **Author:** [@actus7](https://github.com/actus7) **Created:** 10/1/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-generic-openai` --- ### 📝 Commits (1) - [`793e7e0`](https://github.com/open-webui/open-webui/commit/793e7e0919c3d727878646bad471122ed7a298d6) Feature Request: Include GenericOpenAi LLM Provider ### 📊 Changes **3 files changed** (+189 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/apps/openai/main.py` (+91 -1) 📝 `backend/open_webui/config.py` (+28 -0) ➕ `frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx` (+70 -0) </details> ### 📄 Description Fixes #5846 Add support for GenericOpenAi LLM provider in the `open-webui` project. * **Backend Changes:** - Add environment variables `GENERIC_OPEN_AI_BASE_PATH`, `GENERIC_OPEN_AI_API_KEY`, `GENERIC_OPEN_AI_MODEL_PREF`, and `GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT` in `backend/open_webui/config.py`. - Implement GenericOpenAi LLM provider in `backend/open_webui/apps/openai/main.py` using the new environment variables. * **Frontend Changes:** - Add `frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx` to include input fields for `GENERIC_OPEN_AI_BASE_PATH`, `GENERIC_OPEN_AI_API_KEY`, `GENERIC_OPEN_AI_MODEL_PREF`, and `GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/open-webui/open-webui/issues/5846?shareId=4119d41c-fc70-4ef5-93b1-0533d3cd3d70). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:59:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8562