diff --git a/agents-api/agents_api/common/exceptions/tasks.py b/agents-api/agents_api/common/exceptions/tasks.py index 2f7ebe0d2..6e1df0734 100644 --- a/agents-api/agents_api/common/exceptions/tasks.py +++ b/agents-api/agents_api/common/exceptions/tasks.py @@ -4,6 +4,8 @@ Temporal interceptors to prevent unnecessary retries of certain error types. """ +import asyncio + import beartype import beartype.roar import box @@ -15,7 +17,6 @@ import pydantic import requests import temporalio.exceptions -import asyncio # List of error types that should not be retried NON_RETRYABLE_ERROR_TYPES = [