Apply local updates and test/build fixes
This commit is contained in:
@@ -303,6 +303,13 @@ impl AIApiError {
|
||||
}
|
||||
true
|
||||
}
|
||||
// Don't retry Bedrock validation errors — they are deterministic
|
||||
// and will always fail with the same request payload.
|
||||
AIApiError::Stream { source, .. }
|
||||
if source.to_string().contains("Validation error") =>
|
||||
{
|
||||
false
|
||||
}
|
||||
// By default, retry on error.
|
||||
_ => true,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user