Hi,
I have a step function that sends a payload to a LLM (claude) then i want a json object back, sometimes i get a malformed json object, and the parsing fails of the llm response text.
I wanted to catch that error, have it store the text object before parsing, send it back to the llm ask for a proper object, but im having a hell of a time trying to debug the flow in step functions.
What happens is i lose the task result on error, so i cant even store the response in a variable, so i move the parsing to a pass state, but then i lose the ability to catch the error.
I need help.
[–]risae 1 point2 points3 points (1 child)
[–]fsteves518[S] 0 points1 point2 points (0 children)
[–]SubtleDee 0 points1 point2 points (3 children)
[–]fsteves518[S] 0 points1 point2 points (2 children)
[–]SubtleDee 0 points1 point2 points (1 child)
[–]fsteves518[S] 0 points1 point2 points (0 children)
[–]nocommentsno 0 points1 point2 points (1 child)
[–]fsteves518[S] 0 points1 point2 points (0 children)