chore: snapshot main sync
This commit is contained in:
@@ -163,10 +163,8 @@ export function isRetryableModelError(error: ErrorInfo): boolean {
|
||||
}
|
||||
}
|
||||
|
||||
// Check message patterns for unknown errors
|
||||
const msg = error.message?.toLowerCase() ?? ""
|
||||
|
||||
// STOP patterns take precedence over retryable patterns
|
||||
if (STOP_MESSAGE_PATTERNS.some((pattern) => msg.includes(pattern))) {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user