mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-23 01:51:58 -05:00
[GH-ISSUE #17121] feat: accept custom url for Azure Open AI #121485
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?
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
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.Alternatives Considered
No response
Additional Context
No response
@tjbck commented on GitHub (Sep 3, 2025):
Addressed with
5bdd334b74in dev!@fugabri97 commented on GitHub (Sep 11, 2025):
Just letting you know, tried it out and it works! Thanks you!