Fixed "LoopEvent" handling in Loops and Branches

#46

The original cel did not properly handle nor implement LoopEvents, leading to an error when the random number triggered the loop.

In this minimal change, we properly use the LoopEvent class while remaining faithful to the original code.

Hugging Face Agents Course org

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!

sergiopaniego changed pull request status to closed

Sign up or log in to comment