Answer the fourth round: the changelog's timing beside the retry, plainer help, comment and todo wording
This commit is contained in:
@@ -17,7 +17,7 @@ def retried(who: str, attempt: typing.Callable[[], T | Failure | Limited], effec
|
||||
while True:
|
||||
result = attempt()
|
||||
if isinstance(result, Limited):
|
||||
# Hitting the limit proves claude started and reached the API, so the failures before it no longer run on.
|
||||
# Hitting the limit proves claude started and reached the API, so the failures before it stop counting towards three.
|
||||
failures = 0
|
||||
now = effects.now()
|
||||
wait = limit_wait(result, now)
|
||||
|
||||
Reference in New Issue
Block a user