feat: Allow user connection added models to be modified #6476

Closed
opened 2025-11-11 16:56:22 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @QuantumNomad26 on GitHub (Sep 23, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

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

Originally created by @QuantumNomad26 on GitHub (Sep 23, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### 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_
Author
Owner

@Classic298 commented on GitHub (Sep 23, 2025):

But some requests i would rather inference locally so I added a connection to my localhost (which is only doable using the user connections)

No you can also do it from the admin panel

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.

I dont think this is wanted

@Classic298 commented on GitHub (Sep 23, 2025): >But some requests i would rather inference locally so I added a connection to my localhost (which is only doable using the user connections) No you can also do it from the admin panel > 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. I dont think this is wanted
Author
Owner

@QuantumNomad26 commented on GitHub (Sep 24, 2025):

No you can also do it from the admin panel

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.

I dont think this is wanted

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.

@QuantumNomad26 commented on GitHub (Sep 24, 2025): > No you can also do it from the admin panel 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. > I dont think this is wanted 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.
Author
Owner

@Classic298 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

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!)

Because if I can add direct connections, why can't I manage the models available from this connection?

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?

@Classic298 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 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!) > Because if I can add direct connections, why can't I manage the models available from this connection? 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?
Author
Owner

@QuantumNomad26 commented on GitHub (Sep 30, 2025):

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!

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.

Image

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?

If you run your own Open WebUI - why not use the admin panel to add your own connection there and just edit the models?

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

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?

Yet again I ask, why are direct connections a thing in OWU if not exactly for this reason?

@QuantumNomad26 commented on GitHub (Sep 30, 2025): > 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! 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. <img width="1493" height="809" alt="Image" src="https://github.com/user-attachments/assets/5c7c97f2-d1a7-4d3e-83f8-8398b2159488" /> 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? > If you run your own Open WebUI - why not use the admin panel to add your own connection there and just edit the models? 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 > 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? Yet again I ask, why are direct connections a thing in OWU if not exactly for this reason?
Author
Owner

@Classic298 commented on GitHub (Sep 30, 2025):

If this is not the purpose of direct connections than what is?
Yet again I ask, why are direct connections a thing in OWU if not exactly for this reason?

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.

@Classic298 commented on GitHub (Sep 30, 2025): > If this is not the purpose of direct connections than what is? > Yet again I ask, why are direct connections a thing in OWU if not exactly for this reason? 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.
Author
Owner

@QuantumNomad26 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 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.

@QuantumNomad26 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 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.
Author
Owner

@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 :/

@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 :/
Author
Owner

@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 :)

@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 :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6476