chatgpt-web icon indicating copy to clipboard operation
chatgpt-web copied to clipboard

feature request: option to change the API server adresse

Open 3deep5me opened this issue 1 year ago • 4 comments

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

3deep5me avatar Aug 26 '23 10:08 3deep5me

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

Niek avatar Aug 26 '23 10:08 Niek

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)

Webifi avatar Aug 26 '23 23:08 Webifi

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!

3deep5me avatar Aug 27 '23 10:08 3deep5me

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

johnd0e avatar Sep 01 '23 22:09 johnd0e