Generic decorator for handling rate limit errors (#1109)
* Add retry error handler
* fixup! Add retry error handler
* Move to utils.py
* Run isort on utils.py
* Catch multiple exceptions
* Update LMs with exception handler
* Fixes to anthropic retry handler
* fix callback kwarg
* Update textsynth.py
* fix python 3.8 incompatibility
* fix indenterror I introduced
* placate linter?
* Update on_exception_callback kwarg name
* fixup! Merge branch 'main' into add-retry-error-handler
* fixup! fixup! Merge branch 'main' into add-retry-error-handler
* Merge conflicts are fun
* Run pre-commit
---------
Co-authored-by:
Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Showing
Please register or sign in to comment