Skip to content

Add validation to BaseAgent to verify that all sub_agents have unique names #3557

Description

@slilichenko
  • Accidentally providing multiple sub_agents with the same name causes hard to debug bugs.

  • ADK Web UI creates incorrect agent graph when using SequentialAgent with non-unique sub_agent names.

Metadata

Metadata

Assignees

Labels

core[Component] This issue is related to the core interface and implementationplanned[Status] This issue is planned to be work on by ADK eng team
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions