LibreChat template not seeing OPENAI_API_KEY variable

I'm getting a deploy error "Did not find openai_api_key, please add an environment variable OPENAI_API_KEY which contains it, or pass openai_api_key as a named parameter. (type=value_error)" trying to build https://railway.app/template/b5k2mn, in project 75286e3d-7d34-4156-bb28-53af3791394e . I have the variable defined on https://railway.app/project/75286e3d-7d34-4156-bb28-53af3791394e/settings/variables but it doesn't show it in the Deploy->Details->#Variables page. What am I missing?
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
2 Replies
Percy
Percy4mo ago
Project ID: 75286e3d-7d34-4156-bb28-53af3791394e,75286e3d-7d34-4156-bb28-53af3791394e
Brody
Brody4mo ago
You need to define the variable as a service variable on the desired service.
Want results from more Discord servers?
Add your server