Fix "WorkflowRuntimeError: Error in step 'step_two': 'LoopEvent' object has no attribute 'intermediate_result'"
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).
Thanks for the update!
We're closing this since we've made some internal changes, updating the notebooks. If the issue persists, feel free to reopen the PR.
Apologies for the inconvenience, and thanks again for your contribution!