[PR #381] [MERGED] feat: openai backend support #7093

Closed
opened 2025-11-11 17:16:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: openai-backend


📝 Commits (8)

  • 5e4dc98 feat: openai backend support
  • 17c66fd feat: openai compatible api support
  • c0b099d feat: openai frontend refac
  • e278ca9 chore: dockerfile update
  • 8c45283 feat: disable external tab for users with user role
  • a96795d chore: version
  • 6fb0367 fix: openai multi-user issue
  • 2fedd42 fix: 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

  • openai api requests moved to backend proxy

🔄 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/381 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/5/2024 **Status:** ✅ Merged **Merged:** 1/5/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `openai-backend` --- ### 📝 Commits (8) - [`5e4dc98`](https://github.com/open-webui/open-webui/commit/5e4dc98f4490808df0e234ac23137f44c75c546a) feat: openai backend support - [`17c66fd`](https://github.com/open-webui/open-webui/commit/17c66fde0f84b1859f27eee93f08ce6d48b7ff2e) feat: openai compatible api support - [`c0b099d`](https://github.com/open-webui/open-webui/commit/c0b099da4fe06dff9a7686e3cbc329048da6f263) feat: openai frontend refac - [`e278ca9`](https://github.com/open-webui/open-webui/commit/e278ca9ef7f7662cf596ef0fc6159ddbdf84307d) chore: dockerfile update - [`8c45283`](https://github.com/open-webui/open-webui/commit/8c4528366fcfe1d308008d1bc0e5f89ee39f88b0) feat: disable external tab for users with user role - [`a96795d`](https://github.com/open-webui/open-webui/commit/a96795d752dadd44d521adea95195cdf0fde5ad9) chore: version - [`6fb0367`](https://github.com/open-webui/open-webui/commit/6fb036711b998f60151fab2fcc8a061b17a76147) fix: openai multi-user issue - [`2fedd42`](https://github.com/open-webui/open-webui/commit/2fedd42e12dece984d871395b04e22588df27ba3) fix: custom modelfile image placeholder ### 📊 Changes **13 files changed** (+712 additions, -419 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description - openai api requests moved to backend proxy --- <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:16:29 -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#7093