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

An error field in FunctionExecutionResult to explicitly indicate errors occurred during execution #5273

Closed
ekzhu opened this issue Jan 30, 2025 · 2 comments · Fixed by #5428

Comments

@ekzhu
Copy link
Collaborator

ekzhu commented Jan 30, 2025

No description provided.

@ekzhu ekzhu added this to the python-v0.4.x milestone Jan 30, 2025
@wistuba
Copy link
Contributor

wistuba commented Feb 6, 2025

I think, I'll be able to start with this one. Does this require special alignment? I would simply add a boolean field to FunctionExecutionResult and set it accordingly. I can let it default to "no error" given that this isn't a field used by every LLM. Any alternative suggestions?

@ekzhu
Copy link
Collaborator Author

ekzhu commented Feb 6, 2025

Starting with just a Boolean field is good. Let's add a field "has_error" to indicate whether the result was error.

Please also add a unit test for checking errors during tool execution in the autogen-core package.

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

Successfully merging a pull request may close this issue.

2 participants