princeton-ddss / survey-gpt

A survey agent built on ChatGPT
https://survey-gpt.netlify.app/
2 stars 1 forks source link

Add OpenAI rate limit handling #8

Closed cswaney closed 1 year ago

cswaney commented 1 year ago

Add logic to retry OpenAI requests when rate limits are hit. Use the attempt library with exponential backoff?