Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(agents-api): Replace Retry Policies with Temporal Interceptors & Add more non-retryable errors #612

Merged
merged 7 commits into from
Oct 8, 2024
Prev Previous commit
Next Next commit
refactor: Lint agents-api (CI)
  • Loading branch information
HamadaSalhab authored and github-actions[bot] committed Oct 8, 2024
commit 7a50b72a4677195f7d73fc444fa56fd6472afa4b
3 changes: 2 additions & 1 deletion agents-api/agents_api/common/exceptions/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Temporal interceptors to prevent unnecessary retries of certain error types.
"""

import asyncio

import beartype
import beartype.roar
import box
Expand All @@ -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 = [
Expand Down
Loading