#[solved] OPENAI_MODEL issue

1 messages · Page 1 of 1 (latest)

smoky ledge
#

the latest app cant load my OPENAI_MODEL defined in env

#

OPENAI_MODEL issue

smoky ledge
#

I found /api/models and /api/balance request got 401 response. is it normal?

tall kraken
#

it works btw, can't reproduce it

#

gpt-3.5-turbo will still show up as it's a default value before it loads

#

it shouldn't after a model is selected so that needs looking into

smoky ledge
tall kraken
#

It should work, I’m pushing something that will help but it should already work for you

#

Basically default values will be used until you get a response from /api/models

#

If you’re using a reverse proxy, the fetch might be slower so you may need to wait a few seconds

smoky ledge
#

It even don't have a models fetching api in my reverse proxy

tall kraken
tall kraken
#

actually.. it should still be returning the OPENAI_MODELS if they are set

#

@smoky ledge you said the latest app won't load your OPENAI_MODELS but it does for me.. and you also said you reverted a commit, which commit was that?

#

I'm not sure I can help much more

#
OPENAI_MODELS=my-custom-model,hello,there
OPENAI_API_KEY=my-Api-key
OPENAI_REVERSE_PROXY=https://fake.api.cc/api/v1/chat/completions
smoky ledge
#

One guy found the same problem said it happened when restarted after first build and run.

#

He modified default models in LibreChat\client\src\store\models.ts to fix the problem

tall kraken