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

Enchancement/informative openai messages #79

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

MartBakler
Copy link
Collaborator

@MartBakler MartBakler commented Nov 19, 2023

2 improvements

  1. If the openai api has retried 5 times, the final openai error message gets returned
  2. Updated linear backoff to exponential backoff so per-minute rate-limits are also included in the backoff (total amount of backoff is greater than 60sec across 5 retries)
    Output more informative OpenAI error messages #78

@MartBakler MartBakler merged commit c572467 into master Nov 21, 2023
@MartBakler MartBakler deleted the enchancement/informative_openai_messages branch November 21, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants