You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file:///wechat-bot-main/node_modules/openai/index.mjs:43
throw new Errors.OpenAIError("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' }).");
^
OpenAIError: 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 new OpenAI (file:///wechat-bot-main/node_modules/openai/index.mjs:43:19)
at file:///wechat-bot-main/src/openai/index.js:24:16
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
Node.js v20.12.0
The text was updated successfully, but these errors were encountered:
/wechat-bot-main # npm run start -- --serve Xunfei
file:///wechat-bot-main/node_modules/openai/index.mjs:43
throw new Errors.OpenAIError("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' }).");
^
OpenAIError: 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 new OpenAI (file:///wechat-bot-main/node_modules/openai/index.mjs:43:19)
at file:///wechat-bot-main/src/openai/index.js:24:16
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
Node.js v20.12.0
The text was updated successfully, but these errors were encountered: