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
fix(controller): "agent task already running" #1516
Conversation
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.
Pausing or restarting the agent does not work. (responds with a "Current task state not recognized." message)
@amanape should be fixed in the new commit! |
3d38dc8
to
f5cbfe1
Compare
@amanape, this seems to be a much more complex issue that involves the front end. How about i revert the attempted fix for "Current task state not recognized", and starts a separate PR for this? I can reproduce some of the behavior (e.g., reset button doesn't work, pause state propagate to the backend but UI does not change, etc), but I guess this will take more time to figure out. New PR for this: #1517 |
This reverts commit f5cbfe1.
🤔 this seems like a legit error to me--in what case do we get a |
@rbren There seem to be more issues with the agent actions than appear on the surface. I'm not sure if it was due to recent merges or they were dormant for a while. For example, I managed to achieve a I'll take a peek into the FE later today and see if I can find anything. Worth setting up tests for these too |
@rbren This PR basically reverts changes I made at #1290. The reason I add that assert statement is we had a Later your proposed PR broke this function down to This is necessary in the sense that you need to kill existing task to be able to start a new one. |
* fix agent task already running bug * attemp to fix "Current task state not recognized" * Revert "attemp to fix "Current task state not recognized"" This reverts commit f5cbfe1. --------- Co-authored-by: Leo <[email protected]>
Also fixes: [Bug]: The Agent stuck when error occurred in loop. #1492 (comment)Will fix in a separate PR