kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: gpt4新增模型
rodzic
b6a0bc33a6
commit
dc362915f4
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@tzzack/chatgpt",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "Node.js client for the official ChatGPT API.",
|
||||
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
||||
"repository": "transitive-bullshit/chatgpt-api",
|
||||
|
|
|
@ -202,7 +202,9 @@ export class ChatGPTAPI {
|
|||
'gpt-3.5-turbo',
|
||||
'gpt-3.5-turbo-0613',
|
||||
'gpt-3.5-turbo-16k',
|
||||
'gpt-3.5-turbo-16k-0613'
|
||||
'gpt-3.5-turbo-16k-0613',
|
||||
'gpt-4-vision-preview',
|
||||
'gpt-4-1106-preview'
|
||||
].includes(model)
|
||||
if (!isGpt) {
|
||||
url = `${this._apiBaseUrl}/completions`
|
||||
|
|
Ładowanie…
Reference in New Issue