retry¶
with_retries(fn, *, attempts=3, backoff_sec=0.5)
¶
Execute a function with retries and exponential backoff.
Source code in wintermute/ai/retry.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | |