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?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
[Insert a brief description of the changes made in this pull request]
Changelog Entry
Added
[List any new features or additions]
Fixed
[List any fixes or corrections]
Changed
[List any changes or updates]
Removed
[List any removed features or files]
���� 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/1667
**Author:** [@algorithmlover2016](https://github.com/algorithmlover2016)
**Created:** 4/22/2024
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `add_azure_openai`
---
### 📝 Commits (10+)
- [`3fe7894`](https://github.com/open-webui/open-webui/commit/3fe7894dae12be518587afe72f1d28c63ffea1a1) add api -version
- [`1cc7510`](https://github.com/open-webui/open-webui/commit/1cc751047ae8230190fbad75aefbc6abfa2b6ecd) add second update for azure openai
- [`51e1193`](https://github.com/open-webui/open-webui/commit/51e1193671d86cc2148248ca9bf0ff3e12505873) add azure openai model names and replace tab with four space
- [`27c6a31`](https://github.com/open-webui/open-webui/commit/27c6a31dfc993cf6fb09c5d225bcbe792880b14a) add default verson and default example endpoint for azure openai
- [`12dc82a`](https://github.com/open-webui/open-webui/commit/12dc82a0a60068aa5a2c8d2ab00925e878be78b2) add version and model names updating
- [`d02f173`](https://github.com/open-webui/open-webui/commit/d02f173ce1429442f22b4e570f5497e2c7217000) add frontend call azure openai
- [`249cc2a`](https://github.com/open-webui/open-webui/commit/249cc2a4c94b40476153fbfc628302d09d27657b) add splitting line for openai and azure open ai
- [`6b52369`](https://github.com/open-webui/open-webui/commit/6b523695581456b97c92a234a562d34fe0d93b9b) adjust bugs for azure openai
- [`38eee3a`](https://github.com/open-webui/open-webui/commit/38eee3a05860e544d6b0952c0f2a7b52c345306e) Merge branch 'open-webui:main' into add_azure_openai
- [`ef8659f`](https://github.com/open-webui/open-webui/commit/ef8659f49adf2a426a86a79a4b492dd76a33e18b) add azure open ai
### 📊 Changes
**17 files changed** (+1516 additions, -265 deletions)
<details>
<summary>View changed files</summary>
📝 `.env.example` (+6 -0)
➕ `backend/apps/azureopenai/main.py` (+399 -0)
📝 `backend/apps/openai/main.py` (+1 -1)
📝 `backend/config.py` (+49 -3)
📝 `backend/data/litellm/config.yaml` (+13 -1)
➕ `backend/data/model_struct.json` (+67 -0)
📝 `backend/dev.sh` (+2 -2)
📝 `backend/main.py` (+6 -0)
📝 `backend/start.sh` (+1 -1)
➕ `src/lib/apis/azureopenai/index.ts` (+465 -0)
📝 `src/lib/components/chat/Settings/Connections.svelte` (+465 -253)
📝 `src/lib/constants.ts` (+2 -1)
📝 `src/lib/utils/index.ts` (+5 -0)
📝 `src/routes/(app)/+page.svelte` (+5 -1)
📝 `src/routes/(app)/c/[id]/+page.svelte` (+8 -1)
📝 `src/routes/(app)/playground/+page.svelte` (+6 -1)
➕ `static/manifest.json` (+16 -0)
</details>
### 📄 Description
## Pull Request Checklist
- [ ] **Description:** Briefly describe the changes in this pull request.
- [ ] **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?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
[Insert a brief description of the changes made in this pull request]
---
### Changelog Entry
### Added
- [List any new features or additions]
### Fixed
- [List any fixes or corrections]
### Changed
- [List any changes or updates]
### Removed
- [List any removed features or files]
---
<sub>���� This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1667
Author: @algorithmlover2016
Created: 4/22/2024
Status: ❌ Closed
Base:
main← Head:add_azure_openai📝 Commits (10+)
3fe7894add api -version1cc7510add second update for azure openai51e1193add azure openai model names and replace tab with four space27c6a31add default verson and default example endpoint for azure openai12dc82aadd version and model names updatingd02f173add frontend call azure openai249cc2aadd splitting line for openai and azure open ai6b52369adjust bugs for azure openai38eee3aMerge branch 'open-webui:main' into add_azure_openaief8659fadd azure open ai📊 Changes
17 files changed (+1516 additions, -265 deletions)
View changed files
📝
.env.example(+6 -0)➕
backend/apps/azureopenai/main.py(+399 -0)📝
backend/apps/openai/main.py(+1 -1)📝
backend/config.py(+49 -3)📝
backend/data/litellm/config.yaml(+13 -1)➕
backend/data/model_struct.json(+67 -0)📝
backend/dev.sh(+2 -2)📝
backend/main.py(+6 -0)📝
backend/start.sh(+1 -1)➕
src/lib/apis/azureopenai/index.ts(+465 -0)📝
src/lib/components/chat/Settings/Connections.svelte(+465 -253)📝
src/lib/constants.ts(+2 -1)📝
src/lib/utils/index.ts(+5 -0)📝
src/routes/(app)/+page.svelte(+5 -1)📝
src/routes/(app)/c/[id]/+page.svelte(+8 -1)📝
src/routes/(app)/playground/+page.svelte(+6 -1)➕
static/manifest.json(+16 -0)📄 Description
Pull Request Checklist
Description
[Insert a brief description of the changes made in this pull request]
Changelog Entry
Added
Fixed
Changed
Removed
���� This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.