Final response flag when multiple agents participate in one invocation #2751
-
When multiple agents are involved in a single invocation, the is_final_response flag is being set to true prematurely (before all participating agents have completed their execution). This creates confusion in orchestrations since the orchestrator or root agent assumes the interaction is complete while other agents are still running or yet to provide their outputs. What is the best way to handle this scenario? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
is_final_response indicates the end of a specific agent, not the entire invocation. We currently don't have a flag to indicate the end of the entire invocation. We do have plan to add such a flag. |
Beta Was this translation helpful? Give feedback.
is_final_response indicates the end of a specific agent, not the entire invocation. We currently don't have a flag to indicate the end of the entire invocation. We do have plan to add such a flag.