mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #11182] [CLOSED] feat: Support Azure OpenAI #9475
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/11182
Author: @Bouke
Created: 3/4/2025
Status: ❌ Closed
Base:
main← Head:azure-openai📝 Commits (1)
3a6347aSupport Azure OpenAI📊 Changes
2 files changed (+52 additions, -25 deletions)
View changed files
📝
backend/open_webui/routers/openai.py(+11 -2)📝
src/lib/components/AddConnectionModal.svelte(+41 -23)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Currently setting Azure OpenAI is quite involved, requiring functions/pipes/litellm which is not very user-friendly. Also people might want to setup different Azure OpenAI connections, all having different endpoints and API keys. This PR enables adding Azure OpenAI through the UI like a normal OpenAI connection.
Added
Additional Information
There have been other attempts at getting this support in. Those PRs were not accepted as they added separate backends. This PR only touches a few areas of the existing OpenAI codebase instead. See also:
Originally posted by @tjbck in https://github.com/open-webui/open-webui/issues/2308#issuecomment-2116232150
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.