dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Preserving Tracebacks

Open dgonier opened this issue 4 months ago • 4 comments

There are a few places where getting to root errors is difficult because of the retry attempts and how errors are being preserved. I noticed for example that it was easier to go in and remove the try except blocks to debug the code than to keep them there. Im wondering if in the next version this could be worked on a bit. For example, maybe a inspect_errors() method? that shows the exact errors and full tracebacks?

Thanks! -Devin

dgonier avatar Oct 21 '24 21:10 dgonier