diff --git a/tests/openai.test.mjs b/tests/openai.test.mjs index 1991f64..bf48bf2 100644 --- a/tests/openai.test.mjs +++ b/tests/openai.test.mjs @@ -8,7 +8,7 @@ describe('OpenAI Test', () => { before(async () => { openai = new OpenAI({ - apiKey: process.env.OPENAI_API_TOKEN, + apiKey: process.env.OPENAI_API_KEY, }); await DokuMetry.init({llm: openai, dokuUrl: process.env.DOKU_URL, apiKey: process.env.DOKU_TOKEN, environment: "dokumetry-testing", applicationName: "dokumetry-node-test", skipResp: false}); });