#[solved] OPENAI_MODEL issue
1 messages · Page 1 of 1 (latest)
I found /api/models and /api/balance request got 401 response. is it normal?
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
it's not only my situation but somebody else. We revert commits and models showed again.We defined OPENAI_MODEL and OPENAI_REVERSE_PROXY.
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
why?when OPENAI_MODEL défined in .énv, it should not fetch models from api.
It even don't have a models fetching api in my reverse proxy
Ah that’s right. I’ll test with a reverse proxy
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
I tried the latest commit minutes ago,and worked fine.
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
got it, sorry some commit gave you issue. going to make a test for this