From 4264b1287dcd298560fc11fd7bdb2cf68b0d8c05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:47:11 +0000 Subject: [PATCH 1/3] Bump openai from 4.26.0 to 4.26.1 Bumps [openai](https://github.com/openai/openai-node) from 4.26.0 to 4.26.1. - [Release notes](https://github.com/openai/openai-node/releases) - [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/openai/openai-node/compare/v4.26.0...v4.26.1) --- updated-dependencies: - dependency-name: openai dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index eb51b2c..fca5fde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,12 @@ "stream": "^0.0.2" }, "devDependencies": { - "chai": "^5.0.0", + "chai": "^5.0.3", "cohere-ai": "^7.7.3", "eslint": "^8.56.0", "eslint-config-google": "^0.14.0", "mocha": "^10.2.0", - "openai": "^4.25.0" + "openai": "^4.26.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1671,9 +1671,9 @@ } }, "node_modules/openai": { - "version": "4.26.0", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.26.0.tgz", - "integrity": "sha512-HPC7tgYdeP38F3uHA5WgnoXZyGbAp9jgcIo23p6It+q/07u4C+NZ8xHKlMShsPbDDmFRpPsa3vdbXYpbhJH3eg==", + "version": "4.26.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.26.1.tgz", + "integrity": "sha512-DvWbjhWbappsFRatOWmu4Dp1/Q4RG9oOz6CfOSjy0/Drb8G+5iAiqWAO4PfpGIkhOOKtvvNfQri2SItl+U7LhQ==", "dev": true, "dependencies": { "@types/node": "^18.11.18", From a110b023dcf8c15ef77617c5789d6e07c2cea50b Mon Sep 17 00:00:00 2001 From: patcher99 <150420377+patcher99@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:52:09 +0530 Subject: [PATCH 2/3] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1020f3f..00aaa34 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: - cron: '0 9 * * *' env: - OPENAI_API_TOKEN: ${{ secrets.OPENAI_API_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_TOKEN }} COHERE_API_TOKEN: ${{ secrets.COHERE_API_TOKEN }} DOKU_URL: ${{ secrets.DOKU_URL }} DOKU_TOKEN: ${{ secrets.DOKU_TOKEN }} From 5993aa0bc42eebf45ee285f5d6ebf3b8c0ce150d Mon Sep 17 00:00:00 2001 From: patcher99 <150420377+patcher99@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:52:30 +0530 Subject: [PATCH 3/3] Update openai.test.mjs --- tests/openai.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); });