Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add retry_with_fallbacks utility #5

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

nztinversive
Copy link
Owner

Summary

  • implement retry_with_fallbacks with exponential backoff
  • expose the helper in the package
  • test fallback retry logic

Test Plan

  • ruff format src/agents/fallback.py tests/test_fallback.py src/agents/__init__.py
  • ruff check src/agents/fallback.py tests/test_fallback.py src/agents/__init__.py
  • mypy src/agents/fallback.py tests/test_fallback.py --ignore-missing-imports (fails: missing stubs in other modules)
  • pytest tests/test_fallback.py (fails: pytest not installed)

@nztinversive nztinversive merged commit c4fcbfe into main May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant