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

add in jitter config to _retryWithExponentialBackoff #5474

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GeLi2001
Copy link

@GeLi2001 GeLi2001 commented Apr 1, 2025

  • adding in jitter because for llm rpm & rps if multiple requests happened at same time, without randomness they would throttle again even if using exponential backoff
  • will add in subsequent changes to generateObject to fully utilize jitter config

@GeLi2001 GeLi2001 changed the title add in jitter config to return _retryWithExponentialBackoff add in jitter config to _retryWithExponentialBackoff Apr 1, 2025
@GeLi2001
Copy link
Author

GeLi2001 commented Apr 1, 2025

@lgrammel can you help review the pr when available? my team finds it useful to include jitter, thanks!

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.

1 participant