microsoft/autogen
View on GitHubImproved tool documentation, explicit field for error, and error filtering
Open
#5267 opened on Jan 30, 2025
help wantedproj-agentchatproj-core
Description
What feature would you like to be added?
- Documentation currently describes only happy paths for tools. It is unclear how to deal with errors in tools. There is no mention that you can simply raise an exception.
- The FunctionExecutionResultMessage should have a field indicating that an error was raised (Somewhat related #4725 )
- An option to catch only specific errors with the option to stop for others
Why is this needed?
- Avoids that everyone has to read the code
- Anthropic models have an explicit field to indicate tool errors
- Some exceptions indicate serious issues that make it useless to continue. At that point I'd like to stop.