-
Couldn't load subscription status.
- Fork 1.3k
Closed
Labels
enhancementNew feature or requestNew feature or requestopenai apiRelated to underlying OpenAI APIRelated to underlying OpenAI APIquestionFurther information is requestedFurther information is requested
Description
Describe the bug
Sorry, not a bug - just a question!
The OpenAI docs stipulate that they enforce rate limits in 2 ways: by request, and by
-- source here
I'm wondering if this library distinguishes by the two. I don't think it does, because here is an error log I ahve for the 429:
stackError: Request failed with status code 429
at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/src/app/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/axios/lib/adapters/http.js:322:11)
at IncomingMessage.emit (events.js:412:35)
at IncomingMessage.emit (domain.js:475:12)
at endReadableNT (internal/streams/readable.js:1333:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)message[Request failed with status code 429](javascript:void(0);)
Upon confirmation from a maintainer that it doesn't, I will open a feature request requesting this differentiation. Thank you!
P.S. I'd request a 3rd option for issue submission, a new Question one, in addition to the current Bug and Feature request options.
To Reproduce
N/A
Code snippets
N/AOS
mac Ventura (13.0.1)
Node version
16.16
Library version
3.0.0
nikfakel, sanman1k98 and ezzcodeezzlife
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestopenai apiRelated to underlying OpenAI APIRelated to underlying OpenAI APIquestionFurther information is requestedFurther information is requested