Commit 4f68828
committed
fix(providers): 🐛 exempt 503 retries from usage counting
The `AntigravityProvider` was previously incrementing `_internal_attempt_count` when encountering 503 Capacity Exhausted errors. As these server-side errors do not consume API quota, their associated retries should not be tracked against usage limits.1 parent 0af9591 commit 4f68828
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4892 | 4892 | | |
4893 | 4893 | | |
4894 | 4894 | | |
4895 | | - | |
4896 | | - | |
4897 | | - | |
4898 | | - | |
| 4895 | + | |
| 4896 | + | |
4899 | 4897 | | |
4900 | 4898 | | |
4901 | 4899 | | |
| |||
0 commit comments