.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
[Recommended for local deployments] Backend API key for OpenAI, so that users don't have to provide one
OPENAI_API_HOST
secret
[Not needed] Set the backend host for the OpenAI API, to enable platforms such as Helicone