Merge pull request #3 from TZZack/feature-xt-zzz

feat: 增加gpt-4相关模型
pull/627/head
Zack 2023-07-07 15:40:58 +08:00 zatwierdzone przez GitHub
commit b6a0bc33a6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "@tzzack/chatgpt",
"version": "1.0.1",
"version": "1.0.2",
"description": "Node.js client for the official ChatGPT API.",
"author": "Travis Fischer <travis@transitivebullsh.it>",
"repository": "transitive-bullshit/chatgpt-api",

Wyświetl plik

@ -196,11 +196,10 @@ export class ChatGPTAPI {
}
const isGpt = [
'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-0613',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-16k-0613'