langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Make {:error, %Req.TransportError{reason: :timeout}} retriable

Open rparcus opened this issue 1 year ago • 1 comments
trafficstars

Quick question: Why do we make :timeout as a non retryable error response? Req considers it a transient error:

image

rparcus avatar Sep 11 '24 04:09 rparcus

It could be made to auto-retry I think. Perhaps with a built-in delay. I'm open to a PR for this.

brainlid avatar Nov 22 '24 00:11 brainlid