ah, makes sense. So it should work after adding it with wrangler?
ah, makes sense.
So it should work after adding it with wrangler?
So it should work after adding it with wrangler?

t4-api:
const apiKey as a global var in a ts file under packages/api/src/routest4-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 failedconst apiKeyconst 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 = {}) {