@@ -2452,7 +2452,7 @@ void AppendRateLimitedSlot(int requestIndex, string? toolName, JsonNode? toolArg
24522452 [ "total_count" ] = queries . Count ,
24532453 [ "success_count" ] = successCount ,
24542454 [ "failure_count" ] = failureCount ,
2455- [ "partial_failure" ] = failureCount > 0 ,
2455+ [ "partial_failure" ] = failureCount > 0 || cascadeStartedAtIndex . HasValue ,
24562456 [ "failure_scope" ] = GetBatchFailureScope ( queries . Count , successCount , failureCount , cascadeStartedAtIndex ) ,
24572457 [ "cascade_started_at_index" ] = cascadeStartedAtIndex ,
24582458 [ "metadata" ] = new JsonObject
@@ -2539,7 +2539,7 @@ private int EstimateBatchResponseBytes(JsonNode? id, string summary, int submitt
25392539 [ "total_count" ] = submittedCount ,
25402540 [ "success_count" ] = successCount ,
25412541 [ "failure_count" ] = failureCount ,
2542- [ "partial_failure" ] = failureCount > 0 ,
2542+ [ "partial_failure" ] = failureCount > 0 || cascadeStartedAtIndex . HasValue ,
25432543 [ "failure_scope" ] = failureScope ,
25442544 [ "cascade_started_at_index" ] = cascadeStartedAtIndex ,
25452545 [ "metadata" ] = new JsonObject
0 commit comments