8000 Stop execution mid-way based on output_key on a sub-agent in SequentialAgent · Issue #1570 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content
Stop execution mid-way based on output_key on a sub-agent in SequentialAgent #1570
Open
@adityarajsahu

Description

@adityarajsahu

Is your feature request related to a problem? Please describe.
I am working with SequentialAgent, where I have an agent, based on its output key I want to decide whether I should run the remaining agents in the Sequential Agent pipeline.

Describe the solution you'd like
I want some tool, which runs between two sub-agents in a sequential agent and checks if the next set of agents should be executed or not based on some logic using the output_key.

Describe alternatives you've considered
Currently, I am running the agent separately, checking its output_key after execution, then deciding whether I should execute the rest of the sequential sub-agents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot_triagedcoreIssues related to the core interface and implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0