Skip to content

Commit 2b89ce7

Browse files
committed
Add SSE error patterns for Z AI GLM network failures
1 parent 5bd4a4c commit 2b89ce7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hooks/runtime-fallback/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export const RETRYABLE_ERROR_PATTERNS = [
4040
/(?:^|\s)429(?:\s|$)/,
4141
/(?:^|\s)503(?:\s|$)/,
4242
/(?:^|\s)529(?:\s|$)/,
43+
/internal.?network.?failure/i,
44+
/api_error/i,
4345
]
4446

4547
/**

0 commit comments

Comments
 (0)