[PR #2308] [CLOSED] Adds support for Azure OpenAI #36586

Closed
opened 2026-04-25 10:23:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/2308
Author: @frandominguezl
Created: 5/16/2024
Status: Closed

Base: devHead: azure_openai


📝 Commits (9)

  • ac1af37 Adds support for Azure OpenAI
  • 2b208d4 Fix typo
  • 407993f Remove unused audio endpoints
  • fbc5fde Add Azure OpenAI to Connections component
  • 047a20b Fix typo
  • 8098d75 Make SettingsModal larger. Remove unneded bit from Connections tab.
  • 3995aaa Merge branch 'refs/heads/main' into azure_openai
  • 95464cd Fix indentation
  • 1561f5c Merge remote-tracking branch 'refs/remotes/origin/dev' into azure_openai

📊 Changes

12 files changed (+976 additions, -101 deletions)

View changed files

📝 .env.example (+6 -0)
backend/apps/azure/main.py (+303 -0)
📝 backend/config.py (+50 -0)
📝 backend/main.py (+5 -3)
src/lib/apis/azureopenai/index.ts (+393 -0)
📝 src/lib/apis/openai/index.ts (+0 -69)
📝 src/lib/components/chat/Settings/Connections.svelte (+200 -20)
📝 src/lib/components/chat/SettingsModal.svelte (+1 -1)
📝 src/lib/constants.ts (+1 -0)
📝 src/lib/utils/index.ts (+5 -0)
📝 src/routes/(app)/+page.svelte (+6 -7)
📝 src/routes/(app)/c/[id]/+page.svelte (+6 -1)

📄 Description

Pull Request Checklist

  • Target branch: Pull requests should target the dev branch.
  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for the changes?
  • Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description

Adds native support for Azure OpenAI, in a similar way that it's implemented for OpenAI, rather than relying in LiteLLM.


Changelog Entry

Added

  • Support for Azure OpenAI

🔄 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/2308 **Author:** [@frandominguezl](https://github.com/frandominguezl) **Created:** 5/16/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `azure_openai` --- ### 📝 Commits (9) - [`ac1af37`](https://github.com/open-webui/open-webui/commit/ac1af37d561e5f3a066b55c4e3403a036cd03403) Adds support for Azure OpenAI - [`2b208d4`](https://github.com/open-webui/open-webui/commit/2b208d49e38cda833807148790815b5c920d6a96) Fix typo - [`407993f`](https://github.com/open-webui/open-webui/commit/407993f701d84733a339e9e6f100872ee5a7f395) Remove unused audio endpoints - [`fbc5fde`](https://github.com/open-webui/open-webui/commit/fbc5fde5c5aeb2a4438f87eee76c1aee78ebf609) Add Azure OpenAI to Connections component - [`047a20b`](https://github.com/open-webui/open-webui/commit/047a20b6830e1646cfd6f968499b52a9b2afe239) Fix typo - [`8098d75`](https://github.com/open-webui/open-webui/commit/8098d75b8fc018bfddeff86d742545165469fe72) Make SettingsModal larger. Remove unneded bit from Connections tab. - [`3995aaa`](https://github.com/open-webui/open-webui/commit/3995aaaff30c6ab214e4245a2e91dec5596856a0) Merge branch 'refs/heads/main' into azure_openai - [`95464cd`](https://github.com/open-webui/open-webui/commit/95464cd8ac241135a583c03fbdf8fbe5c1c5150d) Fix indentation - [`1561f5c`](https://github.com/open-webui/open-webui/commit/1561f5c37193dc65433b38a715053f0a22cb8a66) Merge remote-tracking branch 'refs/remotes/origin/dev' into azure_openai ### 📊 Changes **12 files changed** (+976 additions, -101 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+6 -0) ➕ `backend/apps/azure/main.py` (+303 -0) 📝 `backend/config.py` (+50 -0) 📝 `backend/main.py` (+5 -3) ➕ `src/lib/apis/azureopenai/index.ts` (+393 -0) 📝 `src/lib/apis/openai/index.ts` (+0 -69) 📝 `src/lib/components/chat/Settings/Connections.svelte` (+200 -20) 📝 `src/lib/components/chat/SettingsModal.svelte` (+1 -1) 📝 `src/lib/constants.ts` (+1 -0) 📝 `src/lib/utils/index.ts` (+5 -0) 📝 `src/routes/(app)/+page.svelte` (+6 -7) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+6 -1) </details> ### 📄 Description ## Pull Request Checklist - [x] **Target branch:** Pull requests should target the `dev` branch. - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests for the changes? - [x] **Code Review:** Have you self-reviewed your code and addressed any coding standard issues? --- ## Description Adds native support for Azure OpenAI, in a similar way that it's implemented for OpenAI, rather than relying in LiteLLM. --- ### Changelog Entry ### Added - Support for Azure OpenAI --- <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 2026-04-25 10:23:44 -05: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#36586