kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: update ChatGPTUnofficialProxyAPI to new default proxy
rodzic
dab8d5fff4
commit
c4ffe539a4
|
@ -20,7 +20,7 @@ export class ChatGPTUnofficialProxyAPI {
|
|||
constructor(opts: {
|
||||
accessToken: string
|
||||
|
||||
/** @defaultValue `https://chat.openai.com/backend-api/conversation` **/
|
||||
/** @defaultValue `https://bypass.duti.tech/api/conversation` **/
|
||||
apiReverseProxyUrl?: string
|
||||
|
||||
/** @defaultValue `text-davinci-002-render-sha` **/
|
||||
|
@ -36,7 +36,7 @@ export class ChatGPTUnofficialProxyAPI {
|
|||
}) {
|
||||
const {
|
||||
accessToken,
|
||||
apiReverseProxyUrl = 'https://chat.duti.tech/api/conversation',
|
||||
apiReverseProxyUrl = 'https://bypass.duti.tech/api/conversation',
|
||||
model = 'text-davinci-002-render-sha',
|
||||
debug = false,
|
||||
headers,
|
||||
|
|
Ładowanie…
Reference in New Issue