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

[smolagents] improve display of handled errors #1198

Open
Tracked by #1195
axiomofjoy opened this issue Jan 15, 2025 · 0 comments
Open
Tracked by #1195

[smolagents] improve display of handled errors #1198

axiomofjoy opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@axiomofjoy
Copy link
Contributor

axiomofjoy commented Jan 15, 2025

smolagents raises errors in some child spans, but handles them in the parent span (e.g., when lexing and parsing generated code with code agents). It is helpful for debugging purposes to have the error details, but the trace tree in the trace details slideover makes it seem as though the exception is unhandled. Ideally, this information would be presented in a way that doesn't seem like an unhandled exception.

Context: #1184 (comment)

@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Jan 15, 2025
@dosubot dosubot bot added the enhancement New feature or request label Jan 15, 2025
@axiomofjoy axiomofjoy self-assigned this Jan 15, 2025
@axiomofjoy axiomofjoy changed the title improve display of handled errors in smolagents [smolagents] improve display of handled errors Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📘 Todo
Development

No branches or pull requests

1 participant