-
Notifications
You must be signed in to change notification settings - Fork 443
multiagents - temporarily raise exception when interrupted #1038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiagents - temporarily raise exception when interrupted #1038
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this? What is the behavior today if we interrupt an agent in a graph?
The agent is left in a state that the user can't respond to. Graph and Swarm do not accept interrupt responses and so the user won't be able to move forward from an interrupt. The agent, when prompted, would keep asking for the responses though unless we clear out the interrupt state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also create the ticket to support interrupts in multi-agent?
This work is being tracked in #204, which I have linked in the overview above. |
Description
Temporarily warn customers that single agent interrupts are not supported in multi-agent networks.
We do plan to support interrupts in multi-agents, but if customers start using single agent interrupts before then, they should know the limitations.
Related Issues
Documentation PR
Interrupts will be documented once all related PRs are merged.
Type of Change
Other (please describe): Warning to users that interrupt feature is not fully ready.
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
hatch run prepare
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.