mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-05 00:10:27 -05:00
[GH-ISSUE #14701] feat: Model Alias in API #104334
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 @texasbones11 on GitHub (Jun 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14701
Check Existing Issues
Problem Description
The current implementation of the API does not allow for the use of model aliases when making API calls. Instead, the technical model name must be used, which limits the flexibility of the system.
When a model name is edited in the admin panel, the new name is not recognized by the API as an alias for the underlying technical model name. This means that any scripts or applications using the API must be updated to use the new technical model name, rather than the alias.
Desired Solution you'd like
The goal is to enable the use of model aliases in API calls, allowing for the decoupling of the alias from the underlying technical model name. This would enable the following:
Alternatives Considered
No response
Additional Context
No response