Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Following |
Beta Was this translation helpful? Give feedback.
0 replies
-
Following |
Beta Was this translation helpful? Give feedback.
0 replies
-
Following |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a SequentialAgent whose sub_agents array consists of:
Agent( name, model, instruction, input_schema )
Agent( name, model, instruction, output_schema, disallow_transfer_to_parent, disallow_transfer_to_peers )
(Obviously there's no point for such setting. it's just for the sake of the example)
When I invoke the SequentialAgent, I want the process to fail immediately if the Input Validator Agent fails (e.g., invalid schema or validation error), instead of continuing to the next agent.
Is there a built‑in way to enforce this behavior?
If not, what’s the recommended pattern for making the SequentialAgent short‑circuit and fail when the first sub‑agent fails validation?
Beta Was this translation helpful? Give feedback.
All reactions