Commit 5eea67c
committed
fix: improve rate limit handling and error messages
- Add proper error message extraction (fixes [object Object] display)
- Detect 429 rate limit errors and reduce concurrency to 1
- Use exponential backoff with factor 2, max 30s timeout
- Show clearer rate limit messages to user1 parent 00cd160 commit 5eea67c
3 files changed
+36
-8
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
| |||
494 | 512 | | |
495 | 513 | | |
496 | 514 | | |
| 515 | + | |
| 516 | + | |
497 | 517 | | |
498 | | - | |
499 | | - | |
500 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
501 | 529 | | |
502 | 530 | | |
503 | 531 | | |
| |||
537 | 565 | | |
538 | 566 | | |
539 | 567 | | |
540 | | - | |
541 | | - | |
| 568 | + | |
| 569 | + | |
542 | 570 | | |
543 | 571 | | |
544 | 572 | | |
| |||
0 commit comments