mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-18 19:29:11 -05:00
feat: Allow user connection added models to be modified #6476
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 @QuantumNomad26 on GitHub (Sep 23, 2025).
Check Existing Issues
Problem Description
Hi OpenWebUI Team,
I am using a server hosted OpenWebUI where there are some models. But some requests i would rather inference locally so I added a connection to my localhost (which is only doable using the user connections) but I dislike that all the models i am running on my local ollama instance just show up with the default logo and there is no way for me to change them.
When adding a connection as an admin, all the models are available in the admin panel under models so that they can be managed, like adding a picture or changing the model name. It would be nice if this model view was also available to the users for the models they added using the connections they made in their settings.
Kind regards,
Desired Solution you'd like
This could (like the connections tab) only be available in the settings of a user when "allow direct connections" is turned on in the settings tab.
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Sep 23, 2025):
No you can also do it from the admin panel
I dont think this is wanted
@QuantumNomad26 commented on GitHub (Sep 24, 2025):
But this localhost is referring to the localhost of the server and not to the one of the user (the machine accessing openwebui via the browser) right? While a localhost configured in a direct connection points to the localhost of the machine accessing the webui.
why not? Because if I can add direct connections, why can't I manage the models available from this connection? What is the purpose of a direct connection, maybe I'm not understanding the correct usecase.
@Classic298 commented on GitHub (Sep 24, 2025):
yes of course.
Open WebUI sends the requests. Not your client.
So you cannot even technically tell Open WebUI to just connect to your own PC "localhost" (what is localhost? localhost is localhost. To Open WebUI localhost is it's own machine, not your machine - it cannot conntect to your machine via localhost! If you want it to connect to your machine, you need to put your own IP there and ensure the port forwarding is enabled and the port is accessible!)
If you run your own Open WebUI - why not use the admin panel to add your own connection there and just edit the models?
If you USE someone ELSE's Open WebUI - why would THEY want you to allow you to add your own models AND edit the models?
@QuantumNomad26 commented on GitHub (Sep 30, 2025):
Okay I don't think you are correct. So I am using a server which is on the network (not running on my machine). But I access openwebui from the browser from my machine. On this machine I am running an SGLang instance which is not portforwarded so only available to http://localhost:30000/ from my machine. I am able to add this as a direct connection on the OWU instance and talk to my local models from the instance.
The annoying part is that this local model has a default picture and name and I want to be able to change this. Also If i were to add a local ollama instance I would want to change more than one model. That is why I am asking for a model editing view like the one in the admin panel but only for the direct connections. If this is not the purpose of direct connections than what is?
Because OpenWebUI is not hosted locally. It is on a server which my partner also has access to which is connected to some online api's. But I have a better PC so I want to be able to host some models on my machine for local inferencing but still use the same OWI. Which is possible at this time, just ugly that I cant edit my local models
Yet again I ask, why are direct connections a thing in OWU if not exactly for this reason?
@Classic298 commented on GitHub (Sep 30, 2025):
If you want to edit model image and model name, and if this is all your local server instance, then what is the problem of adding it via admin panel?
The purpose of this is that if you host an instance for your friends and they want to use their OWN api key with their own connection to OpenAI for example.
@QuantumNomad26 commented on GitHub (Sep 30, 2025):
The fact that OWU Isn't a local instance so I can't add connections to a model running locally in the admin panel BUT I CAN with a direct connection.
@Classic298 commented on GitHub (Sep 30, 2025):
aha. I understand. Well, still, unfortunately tim said it's not planned to add such functionality to models added by direct connections :/
@QuantumNomad26 commented on GitHub (Sep 30, 2025):
Maybe he also didn't understand my question correctly? Otherwise I'll take a crack at it and maybe add a pull request if I figure it out :)