kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: 增加3.5-0613、16k、16k-0613几个模型的请求地址适配
rodzic
110431f167
commit
d3e40768b5
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@tzzack/chatgpt",
|
"name": "@tzzack/chatgpt",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Node.js client for the official ChatGPT API.",
|
"description": "Node.js client for the official ChatGPT API.",
|
||||||
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
||||||
"repository": "transitive-bullshit/chatgpt-api",
|
"repository": "transitive-bullshit/chatgpt-api",
|
||||||
|
|
|
@ -200,7 +200,10 @@ export class ChatGPTAPI {
|
||||||
'gpt-4-32k',
|
'gpt-4-32k',
|
||||||
'gpt-4-32k-0314',
|
'gpt-4-32k-0314',
|
||||||
'gpt-3.5-turbo',
|
'gpt-3.5-turbo',
|
||||||
'gpt-3.5-turbo-0301'
|
'gpt-3.5-turbo-0301',
|
||||||
|
'gpt-3.5-turbo-0613',
|
||||||
|
'gpt-3.5-turbo-16k',
|
||||||
|
'gpt-3.5-turbo-16k-0613'
|
||||||
].includes(model)
|
].includes(model)
|
||||||
if (!isGpt) {
|
if (!isGpt) {
|
||||||
url = `${this._apiBaseUrl}/completions`
|
url = `${this._apiBaseUrl}/completions`
|
||||||
|
|
Ładowanie…
Reference in New Issue