Custom librechat.yaml not reflected

#5
by Mcanroe - opened

Hi , sorry this is a duplicate of a discussion I created on github but realised this is a better location for this question.
I am sure I'm doing something wrong but for some reason my HF hosted librechat doesnt seem to use the custom librechat.yaml from my space.
I have followed the instructions and uncommented the copy command. The copy is also successful in the build tab of the logs but in the container tab it seems to use a custom config (v1.2.4) (presumably from the docket container?)

I've made my space public in case it helps to debug : https://huggingface.co/spaces/Mcanroe/LibreChat/tree/main
I can also share any logs if needed.

Thank you!

LibreChat org

Try to specify the URL for the yaml file using the env var “ CONFIG_PATH” instead of copying it in the dockerfile

More info: https://www.librechat.ai/docs/configuration/dotenv#configuration-path---librechatyaml

Absolute legend! That solved it. I realised that the env 'CONFIG_PATH' was set in the space and was taking precedence over the copied file.
Thank you for your work and have a good one!

Mcanroe changed discussion status to closed

Sign up or log in to comment