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: {
|
constructor(opts: {
|
||||||
accessToken: string
|
accessToken: string
|
||||||
|
|
||||||
/** @defaultValue `https://chat.openai.com/backend-api/conversation` **/
|
/** @defaultValue `https://bypass.duti.tech/api/conversation` **/
|
||||||
apiReverseProxyUrl?: string
|
apiReverseProxyUrl?: string
|
||||||
|
|
||||||
/** @defaultValue `text-davinci-002-render-sha` **/
|
/** @defaultValue `text-davinci-002-render-sha` **/
|
||||||
|
@ -36,7 +36,7 @@ export class ChatGPTUnofficialProxyAPI {
|
||||||
}) {
|
}) {
|
||||||
const {
|
const {
|
||||||
accessToken,
|
accessToken,
|
||||||
apiReverseProxyUrl = 'https://chat.duti.tech/api/conversation',
|
apiReverseProxyUrl = 'https://bypass.duti.tech/api/conversation',
|
||||||
model = 'text-davinci-002-render-sha',
|
model = 'text-davinci-002-render-sha',
|
||||||
debug = false,
|
debug = false,
|
||||||
headers,
|
headers,
|
||||||
|
|
Ładowanie…
Reference in New Issue