3v324v23 commited on
Commit
e56f8d0
·
1 Parent(s): 2a62e76

change retry number

Browse files
Files changed (1) hide show
  1. src/utils.py +1 -1
src/utils.py CHANGED
@@ -206,7 +206,7 @@ def is_retryable_error(error: Exception) -> bool:
206
 
207
  async def handle_async_api_call_with_retry(
208
  api_call_func: Callable[[], Any],
209
- max_retries: int = 10,
210
  base_delay: float = 2.0,
211
  fallback_result: Optional[T] = None,
212
  error_context: str = "API call",
 
206
 
207
  async def handle_async_api_call_with_retry(
208
  api_call_func: Callable[[], Any],
209
+ max_retries: int = 5,
210
  base_delay: float = 2.0,
211
  fallback_result: Optional[T] = None,
212
  error_context: str = "API call",