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 retries to evaluator client #306

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Add retries to evaluator client #306

merged 1 commit into from
Oct 16, 2024

Commits on Oct 16, 2024

  1. Add retries to evaluator client

    * During evaluation we are seeing ocassional timeouts on the server due to
      the HTTP read/write timeout occuring. It looks like this might happen
      because ChatGPT takes a really long time to respond occassionally.
    
    * Update StreamGenerate and GenerateCells to return DeadlineExceeded to
      indicate a server timeout
    
    * Implement a unaryinterceptor to automatically retry requests
      based on the status code.
    
    * The retry is pretty simplistic; its a fixed backoff.
    jlewi committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8aabb0e View commit details
    Browse the repository at this point in the history