Niek / chatgpt-web

ChatGPT web interface using the OpenAI API
https://niek.github.io/chatgpt-web/
GNU General Public License v3.0
1.84k stars 463 forks source link

feature request: option to change the API server adresse #270

Open 3deep5me opened 1 year ago

3deep5me commented 1 year ago

Hi @Niek,

it would be really helpful if it was possible to change the API server address of the openai api server.

Why? If this were possible, it could be used with openai api compatible servers, e.g. https://github.com/chenhunghan/ialacol

Niek commented 1 year ago

We have this ability with an env var, but I assume you want to have it configurable in the web interface?

Webifi commented 1 year ago

Adding UI options for this is on my list of things to do and was part of the reason for the refactor of the model providers. Just not exactly sure how I want to do it yet. (Quick and dirty hack or better refactor for model provider settings/home page)

3deep5me commented 1 year ago

I wasn't aware of the option with the env var with ui would be more comfortable but over a env var its fine. Thanks!

johnd0e commented 1 year ago

I also miss that feature. From user's point of view it would be enough ta have additional field "Set your OpenAI API base below:" in settings (next to current "Set your OpenAI API key below:" )