Add the secret
In your Replit workspace, open Tools → Secrets and add:TypeScript with OpenAI SDK
TypeScript with AI SDK
Deployments
AddPHASEO_API_KEY to the deployment’s secrets as well as the development workspace. Confirm that the deployment does not print environment variables or request headers to logs.