#[solved] huggingface
1 messages · Page 1 of 1 (latest)
the first error shouldn't prevent it from strarting, I have the same error on the demo and it,s running fine: 2023-12-15 22:12:32 info: REDIS_URI not provided. Redis module will not be initialized.
its showing runtime err
I know, I'm not sure what's your second error about an invalid API key tho
i added every secret/variable
did you clone the template (as opposed to the currently running demo)?
hmm you should clone the template with the basics config first, you have too many variables and secrets
Try cloning this space instead:
https://huggingface.co/spaces/LibreChat/template
this template was tested yesterday, every secrets and variables you need are there, you just have to fill the secrets
not sure
i also tried hosting on render it didnt work
the principle between both are very similar, the things you have the most chances to make an error is getting the mongo connection strings, make sure to pay close attention to the online mongodb instructions when doing that step
its running tysm
btw if i want to edit something in the src code how can i do that
You can’t really do it easily from hugging face since it’s pulling a prebuilt docker image (it’s probably possible, it’s just complicated to edit inside an image)
like i want to change google models
You can usually edit models with variables/secrets but not the google models as far as I can tell:
I made the feature request about it, here it is if you want to follow it: https://github.com/danny-avila/LibreChat/issues/1366
@delicate patio The option to edit google's model has been added earlier today! To use it, make a new variable
- Name:
GOOGLE_MODELS - Value:
gemini-pro,gemini-pro-vision,chat-bison,chat-bison-32k,codechat-bison,codechat-bison-32k,text-bison,text-bison-32k,text-unicorn,code-gecko,code-bison,code-bison-32k
You can edit the value to only display the models you want