wenjin272 commented on code in PR #1111:
URL: https://github.com/apache/flink-agents/pull/1111#discussion_r4013713738


##########
runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java:
##########
@@ -192,6 +192,15 @@ private <T> void finalizeExecutedOutcomes(
                 plan.outcomes.set(callIndex, outcome);
                 continue;
             }
+            if (outcome.isFailure() && outcome.getError() instanceof 
InterruptedException) {

Review Comment:
   One path is still missing: without a durable store, 
`durableExecuteAllAsync()` returns the wrapped `InterruptedException` as a 
failure outcome, so `ToolCallAction` continues processing it as a tool error. 
Could we rethrow the interruption in this path as well and add a regression 
test?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to