From d3e40768b56e8cb6061e3369bd67fd6a43ff2950 Mon Sep 17 00:00:00 2001 From: TZZack <464529342@qq.com> Date: Wed, 14 Jun 2023 16:48:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A03.5-0613=E3=80=8116k?= =?UTF-8?q?=E3=80=8116k-0613=E5=87=A0=E4=B8=AA=E6=A8=A1=E5=9E=8B=E7=9A=84?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=9C=B0=E5=9D=80=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/chatgpt-api.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5f9d1f17..ef9b5dfd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tzzack/chatgpt", - "version": "1.0.0", + "version": "1.0.1", "description": "Node.js client for the official ChatGPT API.", "author": "Travis Fischer ", "repository": "transitive-bullshit/chatgpt-api", diff --git a/src/chatgpt-api.ts b/src/chatgpt-api.ts index 7aaa276c..3d62fa0e 100644 --- a/src/chatgpt-api.ts +++ b/src/chatgpt-api.ts @@ -200,7 +200,10 @@ export class ChatGPTAPI { 'gpt-4-32k', 'gpt-4-32k-0314', 'gpt-3.5-turbo', - 'gpt-3.5-turbo-0301' + 'gpt-3.5-turbo-0301', + 'gpt-3.5-turbo-0613', + 'gpt-3.5-turbo-16k', + 'gpt-3.5-turbo-16k-0613' ].includes(model) if (!isGpt) { url = `${this._apiBaseUrl}/completions`