[GH-ISSUE #12733] Feat: Model Check by Name not ID. #16697

Closed
opened 2026-04-19 22:34:30 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @spammenotinoz on GitHub (Apr 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12733

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I know this can be implemented outside of Open-WebUI and I caused this issue myself. But I do like to experiment with pipelines\providers.

Background:
Model Defined as gpt-4o using provider
I want to switch providers, say using a pipeline and create a new model called gpt-4o.
When I delete the existing model gpt-4o, as expected existing chats using gpt-4o return "model not found" as the model ID changed.
The issue does not occur when the models are both provided by Connections, however if the second is provided by a pipe \ pipeline the failover does not occur.

Workaround:
Not a major issue, as you can just select a new model again.

Desired Solution you'd like

Requested Change:
Instead of throwing the model not found error, check for an existing model of the same name and if found. ie: Model Name.

Similar to how the loadbalancing\failover works for connections.

Alternatives Considered

No response

Additional Context

No response

Originally created by @spammenotinoz on GitHub (Apr 11, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12733 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I know this can be implemented outside of Open-WebUI and I caused this issue myself. But I do like to experiment with pipelines\providers. Background: Model Defined as gpt-4o using provider <openai> I want to switch providers, say using a pipeline and create a new model called gpt-4o. When I delete the existing model gpt-4o, as expected existing chats using gpt-4o return "model not found" as the model ID changed. The issue does not occur when the models are both provided by Connections, however if the second is provided by a pipe \ pipeline the failover does not occur. Workaround: Not a major issue, as you can just select a new model again. ### Desired Solution you'd like Requested Change: Instead of throwing the model not found error, check for an existing model of the same name and if found. ie: Model Name. Similar to how the loadbalancing\failover works for connections. ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16697