• Zach Schillaci's avatar
    Generic decorator for handling rate limit errors (#1109) · 046ea6e2
    Zach Schillaci authored
    
    
    * 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: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
    046ea6e2
textsynth.py 5.61 KB