Description
Problem description
I have designed a chat app using Google-ADK's multi-agent architecture. I am skipping certain agents using the before_agent_callback. Once a sub-agent is skipped, the processing of the next message in the same session starts from that same agent. In my use case, the condition in the before_agent_callback evaluates to the same value for a specific user. As a result, once an agent is skipped, the same agent is invoked repeatedly, leading to an infinite loop.
Desired solution
It would be nice to have a control on what next agent should be invoked after and agent is skipped by before_agent_callback.
Alternatives considered
Currently, I am clearing the session when any agent is skipped by before_agent_callback.
Additional context
I am using google-adk 1.2.1