Commit b510535
refactor: improve retry condition clarity
Make the retry logic more explicit by checking isLastAttempt instead of
redundant comparison with OVERLOADED_RETRIES. This makes it clear that
we retry on overloaded errors unless we're on the final attempt.
Co-authored-by: nate <nate@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>1 parent 8b97c16 commit b510535
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments