Closed austinflowspace closed 1 month ago
I think you need to set the JWT_SECRET.
See https://github.com/danny-avila/rag_api/issues/38 and https://github.com/danny-avila/rag_api/pull/37
@danny-avila I do set JWT_SECRET. Should this be the same value for Librechat and Rag_api?
That would be a yes. They need to be the same
Yes it needs to match with LibreChat. Better logging for this was just added
Thank you!
Hello!
Context: I'm running Librechat/Rag_api in my kubernetes cluster (GKE). I'm happy to share the manifests/helm chart I created to do this. Currently, when I deploy any type of rag_api backend (cloudsql [with vector enabled], ankane/pgvector:latest, or pgvector/pgvector:pg15) I get this authorization header error.
I'm personally stumped on what is causing the error.
fastapi.exceptions.HTTPException: 401: Missing or invalid Authorization header
Note: I do change the command run at runtime to:
^^^ I highly doubt this is causing any issues as the dockerfile you use to build only mentions executing python main.py but wanted to call that out.