Fix "WorkflowRuntimeError: Error in step 'step_two': 'LoopEvent' object has no attribute 'intermediate_result'"

#42
by delmaass - opened

When the step 1 returns a LoopEvent, it should go back to step 1 and not to step 2 which code can only handle a ProcessingEvent.

Definitely see the problem, but I don't think this is a solution. The intent of the code seems to be that the LoopEvent is used to go back to step one, but it does not do that.

You suggested the exact same solution 2 hours ago: https://huggingface.co/agents-course/notebooks/discussions/46/files

You're right, sorry. I had been looking at someone else's PR, which is different, and got the two confused (I never really read yours closely).

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment