How to raise/show the errors from assistant? #190
Replies: 1 comment 3 replies
-
Yes, there's an automatic retry mechanism in the Fail fast could be the default behavior, but it isn't right now. The fastest mitigation here is to expose the graph building that's here into methods that you can override. I think the best solution is to extract each internal class and function there: We can solve that, but it will take a few days / weeks. Feel free to open a PR if you wish too. |
Beta Was this translation helpful? Give feedback.
-
Hello dear all,
Are by default the exceptions suppressed in the assistants?
Surprisingly It took me a while to understand why the assistant had not saved the data to the database.
It turned out there was an exception inside the
method_tool
but it was not raised:Only after enabling the Django logger within the assistant and logging the error it was shown:
'NoneType' object has no attribute 'uuid
After logging the error the assistant continued to run until it hit the recursion limit.
Before
try/except
andlogging the error
, it was just continuing.Maybe just a naive question, but do we have any flag to reraise the exceptions or any kind of environment variables to enable us to show the exception trace?
Expected default behavior:
Beta Was this translation helpful? Give feedback.
All reactions