Apply local updates and test/build fixes

This commit is contained in:
Ryan Ward
2026-05-13 15:56:40 -05:00
parent cee61e2af0
commit b61d6bcbce
36 changed files with 567 additions and 327 deletions
+7
View File
@@ -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,
}