mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
[PR #5847] [CLOSED] Feature Request: Include GenericOpenAi LLM Provider #8562
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/5847
Author: @actus7
Created: 10/1/2024
Status: ❌ Closed
Base:
main← Head:add-generic-openai📝 Commits (1)
793e7e0Feature 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-webuiproject.Backend Changes:
GENERIC_OPEN_AI_BASE_PATH,GENERIC_OPEN_AI_API_KEY,GENERIC_OPEN_AI_MODEL_PREF, andGENERIC_OPEN_AI_MODEL_TOKEN_LIMITinbackend/open_webui/config.py.backend/open_webui/apps/openai/main.pyusing the new environment variables.Frontend Changes:
frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsxto include input fields forGENERIC_OPEN_AI_BASE_PATH,GENERIC_OPEN_AI_API_KEY,GENERIC_OPEN_AI_MODEL_PREF, andGENERIC_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.