rag_api documentation is worthless
RAG api setup doc: https://www.librechat.ai/docs/configuration/rag_api
Add the following to your .env file:
RAG_API_URL=http://host.docker.internal:8000
The problem is, port 8000 isn't exposed on the host side.
See the docker ps output:
This entire page of documentation for rag_api is absolutely worthless since the environment: section in the docker compose file overrides env_file and thus adding the RAG_API_URL line to .env is useless. You can set RAG_API_URL to "Librechat documentation sucks" and it will happily accept that variable and continue to ignore it.
https://github.com/danny-avila/LibreChat/blob/f7777a2723e8e51f3ff464d4e672db46905964a5/docker-compose.yml#L17
https://github.com/danny-avila/LibreChat/blob/f7777a2723e8e51f3ff464d4e672db46905964a5/deploy-compose.yml#L19