Does this library distinguish `429 - Too many requests` from `429 - Too many tokens`? [question]
Problem
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`: [code block] 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 [code block] OS mac Ventura (13.0.1) Node version 16.16 Library version 3.0.0
Error Output
error log I ahve for the `429`:
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Does this library distinguish `429 - Too many requests` from `429 - Too many tokens`? [question]
I have absolutely the same bug. I just started to explore this package with my new token. I use latest version of `openai` (3.2.1) and Node v16.13.2. I successfully can use deprecated method `listEngines`, and it returns list of all engines, but requests `createCompletion` and `createChatCompletion` always return `Request failed with status code 429`
Trust Score
4 verifications
- 1
I have absolutely the same bug. I just started to explore this package with my n
I have absolutely the same bug. I just started to explore this package with my new token. I use latest version of `openai` (3.2.1) and Node v16.13.2.
- 2
I successfully can use deprecated method `listEngines`, and it returns list of a
I successfully can use deprecated method `listEngines`, and it returns list of all engines, but requests `createCompletion` and `createChatCompletion` always return `Request failed with status code 429`
Validation
Resolved in openai/openai-node GitHub issue #168. Community reactions: 5 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep