mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-13 02:24:42 -05:00
[PR #381] [MERGED] feat: openai backend support #7093
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/381
Author: @tjbck
Created: 1/5/2024
Status: ✅ Merged
Merged: 1/5/2024
Merged by: @tjbck
Base:
main← Head:openai-backend📝 Commits (8)
5e4dc98feat: openai backend support17c66fdfeat: openai compatible api supportc0b099dfeat: openai frontend reface278ca9chore: dockerfile update8c45283feat: disable external tab for users with user rolea96795dchore: version6fb0367fix: openai multi-user issue2fedd42fix: custom modelfile image placeholder📊 Changes
13 files changed (+712 additions, -419 deletions)
View changed files
📝
Dockerfile(+4 -0)➕
backend/apps/openai/main.py(+135 -0)📝
backend/config.py(+12 -1)📝
backend/constants.py(+1 -0)📝
backend/main.py(+3 -1)📝
example.env(+3 -9)📝
src/lib/apis/openai/index.ts(+196 -1)📝
src/lib/components/chat/Messages/Placeholder.svelte(+1 -1)📝
src/lib/components/chat/SettingsModal.svelte(+53 -68)📝
src/lib/constants.ts(+3 -4)📝
src/routes/(app)/+layout.svelte(+10 -12)📝
src/routes/(app)/+page.svelte(+145 -161)📝
src/routes/(app)/c/[id]/+page.svelte(+146 -161)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.