返回 DeepSeek-Reasonix
policies.py
1 BASE_ATTEMPTS = 3
2
3
4 def budget(attempts, backoff_sec):
5 """Total worst-case seconds spent retrying."""
6 return attempts * backoff_sec
7
7 lines PYTHON