[GH-ISSUE #17121] feat: accept custom url for Azure Open AI #33703

Closed
opened 2026-04-25 07:35:35 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @fugabri97 on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17121

Originally assigned to: @tjbck on GitHub.

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Description:

I would like to request the ability to add models with a custom base URL for Azure deployments. Currently, the implementation checks the URL for the word "azure" to identify Azure deployments. However, our setup uses Azure API Management (APIM) as a gateway to our models, and this check does not accommodate our configuration.

Current Workaround:

To work around this limitation, we have been creating custom functions to handle our specific URL structure. While this is functional, it is not an ideal or scalable solution.

Desired Solution you'd like

Proposed Solution:

I propose adding a feature that allows users to manually set a toggle to indicate an Azure deployment, even when using a custom base URL. This would enable us to specify our custom URL, such as ai.apim.com, and have it recognized as an Azure deployment without additional workarounds.

Image

Alternatives Considered

No response

Additional Context

No response

Originally created by @fugabri97 on GitHub (Sep 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17121 Originally assigned to: @tjbck on GitHub. ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description ## Description: I would like to request the ability to add models with a custom base URL for Azure deployments. Currently, the implementation checks the URL for the word "azure" to identify Azure deployments. However, our setup uses Azure API Management (APIM) as a gateway to our models, and this check does not accommodate our configuration. ## Current Workaround: To work around this limitation, we have been creating custom functions to handle our specific URL structure. While this is functional, it is not an ideal or scalable solution. ### Desired Solution you'd like ## Proposed Solution: I propose adding a feature that allows users to manually set a toggle to indicate an Azure deployment, even when using a custom base URL. This would enable us to specify our custom URL, such as `ai.apim.com`, and have it recognized as an Azure deployment without additional workarounds. <img width="1271" height="219" alt="Image" src="https://github.com/user-attachments/assets/fd49b54b-23de-4206-b7a6-5162de63fe7e" /> ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@tjbck commented on GitHub (Sep 3, 2025):

Addressed with 5bdd334b74 in dev!

<!-- gh-comment-id:3249947042 --> @tjbck commented on GitHub (Sep 3, 2025): Addressed with 5bdd334b74fbd154085f2d590f4afdba32469c8a in dev!
Author
Owner

@fugabri97 commented on GitHub (Sep 11, 2025):

Addressed with 5bdd334 in dev!

Just letting you know, tried it out and it works! Thanks you!

<!-- gh-comment-id:3280393470 --> @fugabri97 commented on GitHub (Sep 11, 2025): > Addressed with [5bdd334](https://github.com/open-webui/open-webui/commit/5bdd334b74fbd154085f2d590f4afdba32469c8a) in dev! Just letting you know, tried it out and it works! Thanks you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33703