From 1c5d0a0e53e2116a6d888b7a5111a14e18c56097 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Thu, 2 Feb 2023 14:11:39 -0600 Subject: [PATCH] feat: replace chat model with text-davinci-003 as temporary workaround --- src/chatgpt-api.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chatgpt-api.ts b/src/chatgpt-api.ts index 9274a5fe..12b67ede 100644 --- a/src/chatgpt-api.ts +++ b/src/chatgpt-api.ts @@ -9,7 +9,8 @@ import { fetch } from './fetch' import { fetchSSE } from './fetch-sse' // NOTE: this is not a public model, but it was leaked by the ChatGPT webapp. -const CHATGPT_MODEL = 'text-chat-davinci-002-20230126' +// const CHATGPT_MODEL = 'text-chat-davinci-002-20230126' +const CHATGPT_MODEL = 'text-davinci-003' const USER_LABEL_DEFAULT = 'User' const ASSISTANT_LABEL_DEFAULT = 'ChatGPT'