google / google/adk-java

ParallelAgent stops sibling branches on nested sub-agent escalation

Ouverte
#1,490 1 commentaire 0 réactions 1 personne assignée Réclamée par @hemasekhar-p Voir sur GitHub
needs review
Langage dominant
Java
Étoiles
1.7k
Forks
420
Merge moyen
4 j 12 h
PR mergées (30 j)
31

Description

## Description

In adk-java, `ParallelAgent` stops all parallel branches when **any** event has `escalate=true`, including escalation from nested sub-agents (for example, an agent running inside a `LoopAgent` sub-branch).

In adk-python, parallel early-exit only happens when the escalating event comes from a **direct** sub-agent:

```python
# parallel_agent.py — _asks_this_agent_to_exit
return bool(event.actions.escalate) and event.author in sub_agent_names

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.