fix(ai): retry DNS transport failures (#6946)

Fixes #6904
This commit is contained in:
Christian Klotz
2026-07-22 12:26:19 +03:00
committed by GitHub
parent a5afc3f171
commit 33e40c3e15
3 changed files with 42 additions and 0 deletions
+3
View File
@@ -51,6 +51,9 @@ const RETRYABLE_PROVIDER_ERROR_PATTERN = buildProviderErrorPattern([
"connection.?lost",
"other side closed",
"fetch failed",
"getaddrinfo",
"ENOTFOUND",
"EAI_AGAIN",
"upstream.?connect",
"reset before headers",
"socket hang up",