Tobi
Tobi
Hey @wrouesnel thoughts on this? I can raise a PR.
Omo iya mi 😄 Is there a status code of 429 returned? We can add exponential backoff, or examine the [rate-limit headers](https://platform.openai.com/docs/guides/rate-limits/rate-limits-in-headers) and retry after an appropriate time.
For the sake of others make we revert back to normal 😄 Yeah, you're probably going to need to make a change to the underlying `http.Client` that's [used](https://github.com/tmc/langchaingo/blob/78b1a81adae76edc614e351d6007edc258711f69/llms/openai/internal/openaiclient/openaiclient.go#L37C8-L37C8). You can...