Created
April 23, 2024 01:21
-
-
Save changchiyou/d37c21efdb6456f93b3f6798d843aab6 to your computer and use it in GitHub Desktop.
ChatGPT-reverseAPI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error handling chat completion: AxiosError: Request failed with status code 429 | |
at settle (file:///Users/christopherchang/Code/ChatGPT-reverseAPI/node_modules/axios/lib/core/settle.js:19:12) | |
at RedirectableRequest.handleResponse (file:///Users/christopherchang/Code/ChatGPT-reverseAPI/node_modules/axios/lib/adapters/http.js:537:9) | |
at RedirectableRequest.emit (node:events:519:28) | |
at RedirectableRequest._processResponse (/Users/christopherchang/Code/ChatGPT-reverseAPI/node_modules/follow-redirects/index.js:398:10) | |
at RedirectableRequest._onNativeResponse (/Users/christopherchang/Code/ChatGPT-reverseAPI/node_modules/follow-redirects/index.js:91:12) | |
at Object.onceWrapper (node:events:634:26) | |
at ClientRequest.emit (node:events:519:28) | |
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:698:27) | |
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) | |
at TLSSocket.socketOnData (node:_http_client:540:22) | |
at Axios.request (file:///Users/christopherchang/Code/ChatGPT-reverseAPI/node_modules/axios/lib/core/Axios.js:45:41) | |
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) | |
at async handleChatCompletion (file:///Users/christopherchang/Code/ChatGPT-reverseAPI/dist/app.js:102:26) { | |
code: 'ERR_BAD_REQUEST', | |
config: { | |
transitional: { | |
silentJSONParsing: true, | |
forcedJSONParsing: true, | |
clarifyTimeoutError: false | |
}, | |
adapter: [ 'xhr', 'http' ], | |
transformRequest: [ [Function: transformRequest] ], | |
transformResponse: [ [Function: transformResponse] ], | |
timeout: 0, | |
xsrfCookieName: 'XSRF-TOKEN', | |
xsrfHeaderName: 'X-XSRF-TOKEN', | |
maxContentLength: -1, | |
maxBodyLength: -1, | |
env: { FormData: [Function], Blob: [class Blob] }, | |
validateStatus: [Function: validateStatus], | |
headers: Object [AxiosHeaders] { | |
Accept: '*/*', | |
'Content-Type': 'application/json', | |
'accept-language': 'en-US,en;q=0.9', | |
'cache-control': 'no-cache', | |
'oai-language': 'en-US', | |
origin: 'https://chat.openai.com', | |
pragma: 'no-cache', | |
referer: 'https://chat.openai.com', | |
'sec-ch-ua': '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"', | |
'sec-ch-ua-mobile': '?0', | |
'sec-ch-ua-platform': '"Windows"', | |
'sec-fetch-dest': 'empty', | |
'sec-fetch-mode': 'cors', | |
'sec-fetch-site': 'same-origin', | |
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', | |
'oai-device-id': 'ce7fd1e3-2a79-4e0f-907e-95a814c4a35f', | |
'openai-sentinel-chat-requirements-token': 'gAAAAABmEfijWfTl_WJaXYle95b2-5JLNN6eKF7HnRN7VRrRtTaD6x1e5-4s24Tarnoo3QriPaFRN2BPRIOUul1qhsQSayIlXKUte9IR6K6Gr97i-fYaLdCw0xpudlQAAnu6fM_CIH8QEhZ1dTF9K5XItZesVN9pS4ej9UfkRc5LEmJoxRun06qpYzpwStu5OpBAoyaFgznIyCi7kDeDoATsl6JkKQ5TW-ZeKpmYqveGv2n2Z8bYynMvPJ59Ty8NDTwNPP1x9jQ6WyLDApRe3VX7GFL87Xl7J0AKmlfgrJBhVsSkm41Y0-w=', | |
'Content-Length': '445', | |
'Accept-Encoding': 'gzip, compress, deflate, br' | |
}, | |
httpsAgent: Agent { | |
_events: [Object: null prototype], | |
_eventsCount: 2, | |
_maxListeners: undefined, | |
defaultPort: 443, | |
protocol: 'https:', | |
options: [Object: null prototype], | |
requests: [Object: null prototype] {}, | |
sockets: [Object: null prototype], | |
freeSockets: [Object: null prototype] {}, | |
keepAliveMsecs: 1000, | |
keepAlive: false, | |
maxSockets: Infinity, | |
maxFreeSockets: 256, | |
scheduling: 'lifo', | |
maxTotalSockets: Infinity, | |
totalSocketCount: 1, | |
maxCachedSessions: 100, | |
_sessionCache: [Object], | |
[Symbol(shapeMode)]: false, | |
[Symbol(kCapture)]: false | |
}, | |
responseType: 'stream', | |
method: 'post', | |
url: 'https://chat.openai.com/backend-api/conversation', | |
data: '{"action":"next","messages":[{"author":{"role":"user"},"content":{"content_type":"text","parts":["How do I list all files in a directory using Python?"]}}],"parent_message_id":"bd2bf0e9-efd1-4b67-9ab8-3ba0605e76df","model":"text-davinci-002-render-sha","timezone_offset_min":-180,"suggestions":[],"history_and_training_disabled":true,"conversation_mode":{"kind":"primary_assistant"},"websocket_request_id":"80a0a323-6904-474e-921d-a6aa3b4ca5d2"}' | |
}, | |
request: <ref *1> ClientRequest { | |
_events: [Object: null prototype] { | |
abort: [Function (anonymous)], | |
aborted: [Function (anonymous)], | |
connect: [Function (anonymous)], | |
error: [Function (anonymous)], | |
socket: [Function (anonymous)], | |
timeout: [Function (anonymous)], | |
finish: [Function: requestOnFinish] | |
}, | |
_eventsCount: 7, | |
_maxListeners: undefined, | |
outputData: [], | |
outputSize: 0, | |
writable: true, | |
destroyed: false, | |
_last: true, | |
chunkedEncoding: false, | |
shouldKeepAlive: false, | |
maxRequestsOnConnectionReached: false, | |
_defaultKeepAlive: true, | |
useChunkedEncodingByDefault: true, | |
sendDate: false, | |
_removedConnection: false, | |
_removedContLen: false, | |
_removedTE: false, | |
strictContentLength: false, | |
_contentLength: '445', | |
_hasBody: true, | |
_trailer: '', | |
finished: true, | |
_headerSent: true, | |
_closed: false, | |
_header: 'POST /backend-api/conversation HTTP/1.1\r\n' + | |
'Accept: */*\r\n' + | |
'Content-Type: application/json\r\n' + | |
'accept-language: en-US,en;q=0.9\r\n' + | |
'cache-control: no-cache\r\n' + | |
'oai-language: en-US\r\n' + | |
'origin: https://chat.openai.com\r\n' + | |
'pragma: no-cache\r\n' + | |
'referer: https://chat.openai.com\r\n' + | |
'sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"\r\n' + | |
'sec-ch-ua-mobile: ?0\r\n' + | |
'sec-ch-ua-platform: "Windows"\r\n' + | |
'sec-fetch-dest: empty\r\n' + | |
'sec-fetch-mode: cors\r\n' + | |
'sec-fetch-site: same-origin\r\n' + | |
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36\r\n' + | |
'oai-device-id: ce7fd1e3-2a79-4e0f-907e-95a814c4a35f\r\n' + | |
'openai-sentinel-chat-requirements-token: gAAAAABmEfijWfTl_WJaXYle95b2-5JLNN6eKF7HnRN7VRrRtTaD6x1e5-4s24Tarnoo3QriPaFRN2BPRIOUul1qhsQSayIlXKUte9IR6K6Gr97i-fYaLdCw0xpudlQAAnu6fM_CIH8QEhZ1dTF9K5XItZesVN9pS4ej9UfkRc5LEmJoxRun06qpYzpwStu5OpBAoyaFgznIyCi7kDeDoATsl6JkKQ5TW-ZeKpmYqveGv2n2Z8bYynMvPJ59Ty8NDTwNPP1x9jQ6WyLDApRe3VX7GFL87Xl7J0AKmlfgrJBhVsSkm41Y0-w=\r\n' + | |
'Content-Length: 445\r\n' + | |
'Accept-Encoding: gzip, compress, deflate, br\r\n' + | |
'Host: chat.openai.com\r\n' + | |
'Connection: close\r\n' + | |
'\r\n', | |
_keepAliveTimeout: 0, | |
_onPendingData: [Function: nop], | |
agent: Agent { | |
_events: [Object: null prototype], | |
_eventsCount: 2, | |
_maxListeners: undefined, | |
defaultPort: 443, | |
protocol: 'https:', | |
options: [Object: null prototype], | |
requests: [Object: null prototype] {}, | |
sockets: [Object: null prototype], | |
freeSockets: [Object: null prototype] {}, | |
keepAliveMsecs: 1000, | |
keepAlive: false, | |
maxSockets: Infinity, | |
maxFreeSockets: 256, | |
scheduling: 'lifo', | |
maxTotalSockets: Infinity, | |
totalSocketCount: 1, | |
maxCachedSessions: 100, | |
_sessionCache: [Object], | |
[Symbol(shapeMode)]: false, | |
[Symbol(kCapture)]: false | |
}, | |
socketPath: undefined, | |
method: 'POST', | |
maxHeaderSize: undefined, | |
insecureHTTPParser: undefined, | |
joinDuplicateHeaders: undefined, | |
path: '/backend-api/conversation', | |
_ended: false, | |
res: IncomingMessage { | |
_events: [Object], | |
_readableState: [ReadableState], | |
_maxListeners: undefined, | |
socket: [TLSSocket], | |
httpVersionMajor: 1, | |
httpVersionMinor: 1, | |
httpVersion: '1.1', | |
complete: false, | |
rawHeaders: [Array], | |
rawTrailers: [], | |
joinDuplicateHeaders: undefined, | |
aborted: false, | |
upgrade: false, | |
url: '', | |
method: null, | |
statusCode: 429, | |
statusMessage: 'Too Many Requests', | |
client: [TLSSocket], | |
_consuming: false, | |
_dumped: false, | |
req: [Circular *1], | |
_eventsCount: 4, | |
responseUrl: 'https://chat.openai.com/backend-api/conversation', | |
redirects: [], | |
[Symbol(shapeMode)]: true, | |
[Symbol(kCapture)]: false, | |
[Symbol(kHeaders)]: [Object], | |
[Symbol(kHeadersCount)]: 38, | |
[Symbol(kTrailers)]: null, | |
[Symbol(kTrailersCount)]: 0 | |
}, | |
aborted: false, | |
timeoutCb: null, | |
upgradeOrConnect: false, | |
parser: HTTPParser { | |
'0': null, | |
'1': [Function: parserOnHeaders], | |
'2': [Function: parserOnHeadersComplete], | |
'3': [Function: parserOnBody], | |
'4': [Function: parserOnMessageComplete], | |
'5': null, | |
'6': null, | |
_headers: [], | |
_url: '', | |
socket: [TLSSocket], | |
incoming: [IncomingMessage], | |
outgoing: [Circular *1], | |
maxHeaderPairs: 2000, | |
_consumed: false, | |
onIncoming: [Function: parserOnIncomingClient], | |
joinDuplicateHeaders: undefined, | |
[Symbol(resource_symbol)]: [HTTPClientAsyncResource] | |
}, | |
maxHeadersCount: null, | |
reusedSocket: false, | |
host: 'chat.openai.com', | |
protocol: 'https:', | |
_redirectable: Writable { | |
_events: [Object], | |
_writableState: [WritableState], | |
_maxListeners: undefined, | |
_options: [Object], | |
_ended: true, | |
_ending: true, | |
_redirectCount: 0, | |
_redirects: [], | |
_requestBodyLength: 445, | |
_requestBodyBuffers: [], | |
_eventsCount: 3, | |
_onNativeResponse: [Function (anonymous)], | |
_currentRequest: [Circular *1], | |
_currentUrl: 'https://chat.openai.com/backend-api/conversation', | |
[Symbol(shapeMode)]: true, | |
[Symbol(kCapture)]: false | |
}, | |
[Symbol(shapeMode)]: false, | |
[Symbol(kCapture)]: false, | |
[Symbol(kBytesWritten)]: 0, | |
[Symbol(kNeedDrain)]: false, | |
[Symbol(corked)]: 0, | |
[Symbol(kChunkedBuffer)]: [], | |
[Symbol(kChunkedLength)]: 0, | |
[Symbol(kSocket)]: TLSSocket { | |
_tlsOptions: [Object], | |
_secureEstablished: true, | |
_securePending: false, | |
_newSessionPending: false, | |
_controlReleased: true, | |
secureConnecting: false, | |
_SNICallback: null, | |
servername: 'chat.openai.com', | |
alpnProtocol: false, | |
authorized: true, | |
authorizationError: null, | |
encrypted: true, | |
_events: [Object: null prototype], | |
_eventsCount: 11, | |
connecting: false, | |
_hadError: false, | |
_parent: null, | |
_host: 'chat.openai.com', | |
_closeAfterHandlingError: false, | |
_readableState: [ReadableState], | |
_writableState: [WritableState], | |
allowHalfOpen: false, | |
_maxListeners: undefined, | |
_sockname: null, | |
_pendingData: null, | |
_pendingEncoding: '', | |
server: undefined, | |
_server: null, | |
ssl: [TLSWrap], | |
_requestCert: true, | |
_rejectUnauthorized: false, | |
parser: [HTTPParser], | |
_httpMessage: [Circular *1], | |
autoSelectFamilyAttemptedAddresses: [Array], | |
[Symbol(alpncallback)]: null, | |
[Symbol(res)]: [TLSWrap], | |
[Symbol(verified)]: true, | |
[Symbol(pendingSession)]: null, | |
[Symbol(async_id_symbol)]: 53731, | |
[Symbol(kHandle)]: [TLSWrap], | |
[Symbol(lastWriteQueueSize)]: 0, | |
[Symbol(timeout)]: null, | |
[Symbol(kBuffer)]: null, | |
[Symbol(kBufferCb)]: null, | |
[Symbol(kBufferGen)]: null, | |
[Symbol(shapeMode)]: true, | |
[Symbol(kCapture)]: false, | |
[Symbol(kSetNoDelay)]: false, | |
[Symbol(kSetKeepAlive)]: true, | |
[Symbol(kSetKeepAliveInitialDelay)]: 60, | |
[Symbol(kBytesRead)]: 0, | |
[Symbol(kBytesWritten)]: 0, | |
[Symbol(connect-options)]: [Object] | |
}, | |
[Symbol(kOutHeaders)]: [Object: null prototype] { | |
accept: [Array], | |
'content-type': [Array], | |
'accept-language': [Array], | |
'cache-control': [Array], | |
'oai-language': [Array], | |
origin: [Array], | |
pragma: [Array], | |
referer: [Array], | |
'sec-ch-ua': [Array], | |
'sec-ch-ua-mobile': [Array], | |
'sec-ch-ua-platform': [Array], | |
'sec-fetch-dest': [Array], | |
'sec-fetch-mode': [Array], | |
'sec-fetch-site': [Array], | |
'user-agent': [Array], | |
'oai-device-id': [Array], | |
'openai-sentinel-chat-requirements-token': [Array], | |
'content-length': [Array], | |
'accept-encoding': [Array], | |
host: [Array] | |
}, | |
[Symbol(errored)]: null, | |
[Symbol(kHighWaterMark)]: 16384, | |
[Symbol(kRejectNonStandardBodyWrites)]: false, | |
[Symbol(kUniqueHeaders)]: null | |
}, | |
response: { | |
status: 429, | |
statusText: 'Too Many Requests', | |
headers: Object [AxiosHeaders] { | |
date: 'Sun, 07 Apr 2024 01:36:47 GMT', | |
'content-type': 'application/json', | |
'content-length': '58', | |
connection: 'close', | |
'retry-after': '3226', | |
'set-cookie': [Array], | |
'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ooZMz9QRno2pcx%2FtNfMcg%2FZ%2Bg2enkbUx5OcV7pWvwqrt1AWUgxfSbiaCwmaMbbUM6Qg%2BDhcSMZ2XQyMkhGFICeSnR0zRE246%2Fb0tWdnuZ8iPb3s4HCoCfhDTeZB2OmURug%3D%3D"}],"group":"cf-nel","max_age":604800}', | |
nel: '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}', | |
vary: 'Accept-Encoding', | |
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', | |
'x-content-type-options': 'nosniff', | |
'cross-origin-opener-policy': 'same-origin', | |
'referrer-policy': 'strict-origin-when-cross-origin', | |
'x-robots-tag': 'nofollow', | |
'content-security-policy': "default-src 'self'; script-src 'self' 'nonce-pub1f79f8ac903a5872ae5f53026d20a77c' 'unsafe-inline' 'unsafe-eval' https://chat.openai.com https://*.oaistatic.com https://*.chatgpt.com https://snc.apps.openai.com https://tcr9i.chat.openai.com https://widget.intercom.io wss://snc.apps.openai.com js.intercomcdn.com https://chatgpt.com https://oaistatic.com js.stripe.com; script-src-elem 'unsafe-inline' https://chat.openai.com https://*.oaistatic.com https://*.chatgpt.com https://snc.apps.openai.com auth0.openai.com challenges.cloudflare.com https://tcr9i.chat.openai.com https://widget.intercom.io wss://snc.apps.openai.com js.intercomcdn.com https://chatgpt.com https://oaistatic.com js.stripe.com; img-src * 'self' data: https:; style-src 'self' 'unsafe-inline' https://chat.openai.com https://*.oaistatic.com https://*.chatgpt.com https://snc.apps.openai.com https://tcr9i.chat.openai.com wss://snc.apps.openai.com https://chatgpt.com https://oaistatic.com; font-src 'self' data: https://*.oaistatic.com; connect-src 'self' api-js.mixpanel.com api-iam.intercom.io wss://chatgpt-async-webps-prod-eastus-18.webpubsub.azure.com wss://fp-async-webps-staging.webpubsub.azure.com https://*.chatgpt.com *.oaiusercontent.com o33249.ingest.sentry.io http://localhost:* https://tcr9i.chat.openai.com fileserviceuploadsperm.blob.core.windows.net https://oaistatic.com https://events.statsigapi.net https://chat.openai.com wss://fp-async-webps-prod.webpubsub.azure.com https://*.oaistatic.com wss://*.webpubsub.azure.com https://snc.apps.openai.com wss://snc.apps.openai.com https://chatgpt.com statsigapi.net https://featuregates.org browser-intake-datadoghq.com https://jidori.g1.internal.services.openai.org; frame-src tcr9i.chat.openai.com challenges.cloudflare.com js.stripe.com; worker-src blob:; report-uri https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report; media-src blob: 'self'", | |
server: 'cloudflare', | |
'cf-ray': '870649eb69c38466-TPE', | |
'alt-svc': 'h3=":443"; ma=86400' | |
}, | |
config: { | |
transitional: [Object], | |
adapter: [Array], | |
transformRequest: [Array], | |
transformResponse: [Array], | |
timeout: 0, | |
xsrfCookieName: 'XSRF-TOKEN', | |
xsrfHeaderName: 'X-XSRF-TOKEN', | |
maxContentLength: -1, | |
maxBodyLength: -1, | |
env: [Object], | |
validateStatus: [Function: validateStatus], | |
headers: [Object [AxiosHeaders]], | |
httpsAgent: [Agent], | |
responseType: 'stream', | |
method: 'post', | |
url: 'https://chat.openai.com/backend-api/conversation', | |
data: '{"action":"next","messages":[{"author":{"role":"user"},"content":{"content_type":"text","parts":["How do I list all files in a directory using Python?"]}}],"parent_message_id":"bd2bf0e9-efd1-4b67-9ab8-3ba0605e76df","model":"text-davinci-002-render-sha","timezone_offset_min":-180,"suggestions":[],"history_and_training_disabled":true,"conversation_mode":{"kind":"primary_assistant"},"websocket_request_id":"80a0a323-6904-474e-921d-a6aa3b4ca5d2"}' | |
}, | |
request: <ref *1> ClientRequest { | |
_events: [Object: null prototype], | |
_eventsCount: 7, | |
_maxListeners: undefined, | |
outputData: [], | |
outputSize: 0, | |
writable: true, | |
destroyed: false, | |
_last: true, | |
chunkedEncoding: false, | |
shouldKeepAlive: false, | |
maxRequestsOnConnectionReached: false, | |
_defaultKeepAlive: true, | |
useChunkedEncodingByDefault: true, | |
sendDate: false, | |
_removedConnection: false, | |
_removedContLen: false, | |
_removedTE: false, | |
strictContentLength: false, | |
_contentLength: '445', | |
_hasBody: true, | |
_trailer: '', | |
finished: true, | |
_headerSent: true, | |
_closed: false, | |
_header: 'POST /backend-api/conversation HTTP/1.1\r\n' + | |
'Accept: */*\r\n' + | |
'Content-Type: application/json\r\n' + | |
'accept-language: en-US,en;q=0.9\r\n' + | |
'cache-control: no-cache\r\n' + | |
'oai-language: en-US\r\n' + | |
'origin: https://chat.openai.com\r\n' + | |
'pragma: no-cache\r\n' + | |
'referer: https://chat.openai.com\r\n' + | |
'sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"\r\n' + | |
'sec-ch-ua-mobile: ?0\r\n' + | |
'sec-ch-ua-platform: "Windows"\r\n' + | |
'sec-fetch-dest: empty\r\n' + | |
'sec-fetch-mode: cors\r\n' + | |
'sec-fetch-site: same-origin\r\n' + | |
'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36\r\n' + | |
'oai-device-id: ce7fd1e3-2a79-4e0f-907e-95a814c4a35f\r\n' + | |
'openai-sentinel-chat-requirements-token: gAAAAABmEfijWfTl_WJaXYle95b2-5JLNN6eKF7HnRN7VRrRtTaD6x1e5-4s24Tarnoo3QriPaFRN2BPRIOUul1qhsQSayIlXKUte9IR6K6Gr97i-fYaLdCw0xpudlQAAnu6fM_CIH8QEhZ1dTF9K5XItZesVN9pS4ej9UfkRc5LEmJoxRun06qpYzpwStu5OpBAoyaFgznIyCi7kDeDoATsl6JkKQ5TW-ZeKpmYqveGv2n2Z8bYynMvPJ59Ty8NDTwNPP1x9jQ6WyLDApRe3VX7GFL87Xl7J0AKmlfgrJBhVsSkm41Y0-w=\r\n' + | |
'Content-Length: 445\r\n' + | |
'Accept-Encoding: gzip, compress, deflate, br\r\n' + | |
'Host: chat.openai.com\r\n' + | |
'Connection: close\r\n' + | |
'\r\n', | |
_keepAliveTimeout: 0, | |
_onPendingData: [Function: nop], | |
agent: [Agent], | |
socketPath: undefined, | |
method: 'POST', | |
maxHeaderSize: undefined, | |
insecureHTTPParser: undefined, | |
joinDuplicateHeaders: undefined, | |
path: '/backend-api/conversation', | |
_ended: false, | |
res: [IncomingMessage], | |
aborted: false, | |
timeoutCb: null, | |
upgradeOrConnect: false, | |
parser: [HTTPParser], | |
maxHeadersCount: null, | |
reusedSocket: false, | |
host: 'chat.openai.com', | |
protocol: 'https:', | |
_redirectable: [Writable], | |
[Symbol(shapeMode)]: false, | |
[Symbol(kCapture)]: false, | |
[Symbol(kBytesWritten)]: 0, | |
[Symbol(kNeedDrain)]: false, | |
[Symbol(corked)]: 0, | |
[Symbol(kChunkedBuffer)]: [], | |
[Symbol(kChunkedLength)]: 0, | |
[Symbol(kSocket)]: [TLSSocket], | |
[Symbol(kOutHeaders)]: [Object: null prototype], | |
[Symbol(errored)]: null, | |
[Symbol(kHighWaterMark)]: 16384, | |
[Symbol(kRejectNonStandardBodyWrites)]: false, | |
[Symbol(kUniqueHeaders)]: null | |
}, | |
data: IncomingMessage { | |
_events: [Object], | |
_readableState: [ReadableState], | |
_maxListeners: undefined, | |
socket: [TLSSocket], | |
httpVersionMajor: 1, | |
httpVersionMinor: 1, | |
httpVersion: '1.1', | |
complete: false, | |
rawHeaders: [Array], | |
rawTrailers: [], | |
joinDuplicateHeaders: undefined, | |
aborted: false, | |
upgrade: false, | |
url: '', | |
method: null, | |
statusCode: 429, | |
statusMessage: 'Too Many Requests', | |
client: [TLSSocket], | |
_consuming: false, | |
_dumped: false, | |
req: [ClientRequest], | |
_eventsCount: 4, | |
responseUrl: 'https://chat.openai.com/backend-api/conversation', | |
redirects: [], | |
[Symbol(shapeMode)]: true, | |
[Symbol(kCapture)]: false, | |
[Symbol(kHeaders)]: [Object], | |
[Symbol(kHeadersCount)]: 38, | |
[Symbol(kTrailers)]: null, | |
[Symbol(kTrailersCount)]: 0 | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment