They are available at runtime, but only once deployed
They are available at runtime, but only once deployed

t4-api:
✘ [ERROR] A request to the Cloudflare API (/accounts/<account>/workers/scripts/t4-api) failed.
Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at worker.js:12490:13 in OpenAI
at worker.js:12579:14
[code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
The process '/home/runner/.bun/bin/bunx' failed with exit code 1
🚨 Action failed✘ [ERROR] A request to the Cloudflare API (/accounts/<account>/workers/scripts/t4-api) failed.
Uncaught Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at worker.js:12490:13 in OpenAI
at worker.js:12579:14
[code: 10021]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
The process '/home/runner/.bun/bin/bunx' failed with exit code 1
🚨 Action failedconst apiKey = process.env.OPENAI_API_KEY
const organization = process.env.OPENAI_ORG_ID
const openai = new OpenAI({ apiKey, organization }) constructor({
apiKey = Core.readEnv('OPENAI_API_KEY'),
organization = Core.readEnv('OPENAI_ORG_ID') ?? null,
...opts
}: ClientOptions = {}) {