LibreChat template not seeing OPENAI_API_KEY variable
diamondsea
TRIALOP

2 years ago

I'm getting a deploy error "Did not find openaiapikey, 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?

1 Replies

2 years ago

You need to define the variable as a service variable on the desired service.


Loading...