feat: replace chat model with text-davinci-003 as temporary workaround

chatgpt-api
Travis Fischer 2023-02-02 14:11:39 -06:00
rodzic bde4d772cf
commit 4815045205
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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'