Skip to content
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

feat: handle agent errors #59

Open
grabbou opened this issue Dec 9, 2024 · 0 comments
Open

feat: handle agent errors #59

grabbou opened this issue Dec 9, 2024 · 0 comments

Comments

@grabbou
Copy link
Collaborator

grabbou commented Dec 9, 2024

If agent fails to produce the answer for some reason, attempt to recover.

Two ways:

  • re-run agent (evaluate with LLM whether this is intermediate error, or persistent)
  • reassign to a different agent (if agent fails to continue due to lack of competence)

Create a new method in the supervisor that does the above
Run that method when state is failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant