-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Revamp AgentRejectAction and allow ManagerAgent to handle rejection #1735
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1735 +/- ##
=======================================
Coverage ? 58.47%
=======================================
Files ? 99
Lines ? 4058
Branches ? 0
=======================================
Hits ? 2373
Misses ? 1685
Partials ? 0 ☔ View full report in Codecov by Sentry. |
Blocked by #1897 |
This PR fixes #1897. In addition, this PR fixes and tweaks a few micro-agents. For the first time, I am able to use ManagerAgent to complete test_write_simple_script and test_edits tasks in integration tests, so this PR also adds ManagerAgent as part of integration tests. test_write_simple_script involves delegation to CoderAgent while test_edits involves delegation to TypoFixerAgent. Also for the first time, I am able to use DelegateAgent to complete test_write_simple_script and test_edits tasks in integration tests, so this PR also adds DelegateAgent as part of integration tests. It involves delegation to StudyRepoForTaskAgent, CoderAgent and VerifierAgent. This PR is a blocker for #1735 and likely #1945.
Hi @li-boxuan , I'm just going through the backlog, you're still working on and interested in this right? It seems that #1910 was a step in the right direction. |
@neubig Yep I am working on it. Was busy with some benchmark work earlier but I am back on track with this now. |
Have to put this on hold again. Need to focus on wrapping up evaluations and paper. |
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.
This looks good, thanks @li-boxuan ! I think it can be merged after conflicts are resolved.
#1615 introduced a new action type called
AgentRejectAction
, but was accidentally removed in #1626, likely due to merge conflict resolution. This PR adds reject action handling back.This PR also: