From cef70751ff9680058315049d3ae6c8d6ccf2cdd6 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Fri, 16 Jun 2023 19:35:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-template.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config-template.py b/config-template.py index 401526ee..64e67ae3 100644 --- a/config-template.py +++ b/config-template.py @@ -204,11 +204,13 @@ auto_reset = True # 现已支持的模型有: # # 'gpt-4' -# 'gpt-4-0314' +# 'gpt-4-0613' # 'gpt-4-32k' -# 'gpt-4-32k-0314' +# 'gpt-4-32k-0613' # 'gpt-3.5-turbo' -# 'gpt-3.5-turbo-0301' +# 'gpt-3.5-turbo-16k' +# 'gpt-3.5-turbo-0613' +# 'gpt-3.5-turbo-16k-0613' # 'text-davinci-003' # 'text-davinci-002' # 'code-davinci-002' From ddb211b74a1aa11d63e5429774d28f8091fd2a5d Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Fri, 16 Jun 2023 19:35:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/openai/modelmgr.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/openai/modelmgr.py b/pkg/openai/modelmgr.py index dd05cb3f..f16105cb 100644 --- a/pkg/openai/modelmgr.py +++ b/pkg/openai/modelmgr.py @@ -20,11 +20,14 @@ COMPLETION_MODELS = { CHAT_COMPLETION_MODELS = { 'gpt-3.5-turbo', - 'gpt-3.5-turbo-0301', + 'gpt-3.5-turbo-16k', + 'gpt-3.5-turbo-0613', + 'gpt-3.5-turbo-16k-0613', + # 'gpt-3.5-turbo-0301', 'gpt-4', - 'gpt-4-0314', + 'gpt-4-0613', 'gpt-4-32k', - 'gpt-4-32k-0314' + 'gpt-4-32k-0613' } EDIT_MODELS = {