-
Notifications
You must be signed in to change notification settings - Fork 44.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
fix(agent): Handle action_history
-related exceptions gracefully
#6990
fix(agent): Handle action_history
-related exceptions gracefully
#6990
Conversation
- CLI: prevent resumed agent to register action on already existing one - Server: prevent trying to json() command without result
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
…r-current-cycle-already-set
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
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.
LGTM!
action_history
-related exceptions gracefully
…nism - Add `AgentFinished` exception (subclass of `AgentTerminated`) - Raise `AgentFinished` instead of `AgentTerminated` in `finish` method - Remove resumption patch from PR #6990 in `BaseAgent` - Clean up implementation of `finish` in `AgentProtocolServer` - Add resumption mechanism in `run_auto_gpt` (main.py)
This fixes OPEN-121 and OPEN-149:
Extra: accept pressing
enter
when asking userResume [Y/n]
(previously was expecting explicity
orn
)