From 55fe1a5ed2553b15ef982eb0b9b272d8c3ab3750 Mon Sep 17 00:00:00 2001 From: Shansing Date: Sat, 4 Mar 2023 17:51:19 +0800 Subject: [PATCH 1/2] Update chatgpt dependency version Using older versions may lead to lower quality reply. ref: https://github.com/transitive-bullshit/chatgpt-api/pull/425 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d832286..886a819 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "typescript": "^4.9.5" }, "dependencies": { - "chatgpt": "^5.0.4", + "chatgpt": "^5.0.6", "chatgpt-v3": "npm:chatgpt@3.5.1", "config": "^3.3.9", "dotenv": "^16.0.3", From 7ba77eb12f16c1ced3887a308ffa958bd58d002e Mon Sep 17 00:00:00 2001 From: RainEggplant Date: Sat, 4 Mar 2023 20:55:32 +0800 Subject: [PATCH 2/2] Update the lock file --- pnpm-lock.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acd1627..4039939 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ specifiers: '@types/promise-queue': ^2.2.0 '@typescript-eslint/eslint-plugin': ^5.54.0 '@typescript-eslint/parser': ^5.54.0 - chatgpt: ^5.0.4 + chatgpt: ^5.0.6 chatgpt-v3: npm:chatgpt@3.5.1 config: ^3.3.9 dotenv: ^16.0.3 @@ -29,7 +29,7 @@ specifiers: typescript: ^4.9.5 dependencies: - chatgpt: registry.npmmirror.com/chatgpt/5.0.4 + chatgpt: registry.npmmirror.com/chatgpt/5.0.6 chatgpt-v3: registry.npmmirror.com/chatgpt/3.5.1_puppeteer@19.7.2 config: registry.npmmirror.com/config/3.3.9 dotenv: registry.npmmirror.com/dotenv/16.0.3 @@ -859,10 +859,10 @@ packages: - supports-color dev: false - registry.npmmirror.com/chatgpt/5.0.4: - resolution: {integrity: sha512-qkppO2IDYDJC1eaXfqupXdZcOPNqtBkToRcvr9CAGM1rdsKfBDpWLTx4Y6OMNH02sgWu48aJB//0lO1M17K58w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chatgpt/-/chatgpt-5.0.4.tgz} + registry.npmmirror.com/chatgpt/5.0.6: + resolution: {integrity: sha512-BQ0eN2GpAlw9ojsxkHmW+bTuekbllZbOkKqjDSIVSMtbMoYDx59vcg6xXnCPkB0OBFGuG89eqGhLAfMIW34Hcw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chatgpt/-/chatgpt-5.0.6.tgz} name: chatgpt - version: 5.0.4 + version: 5.0.6 engines: {node: '>=14'} hasBin: true dependencies: