is there a way to know within a step if
is there a way to know within a step if it's retrying, and if so, can you get the error that made it fail?
3 Replies
what i'm currently doing is catching the error within the step and then storing it in a map that i have outside the step
and every time the step is executed, i check whether there's an error
currently no, what would be your end goal with this though?
it's an AI use case, basically updating the prompt with the error message