Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Infinite loop from legion/groups/team_tools.py #42

Open
avetise opened this issue Feb 15, 2025 · 0 comments
Open

[BUG] Infinite loop from legion/groups/team_tools.py #42

avetise opened this issue Feb 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@avetise
Copy link

avetise commented Feb 15, 2025

Bug Description

Steps to Reproduce

1.https://github.com/LLMP-io/Legion/blob/main/examples/teams/basic_team.py
2. Missing "await" before format_report. Should be: return await format_report(
3. Additionally, it gets stuck in an infinite loop after completing the first task of "If you need further analysis or insights, feel free to ask!

Previous Task to Me: Create a professional report for stakeholders based on the analysis of the numbers: [10.5, 20.5, 15.0, 30.0, 25.5]. Include key insights and
statistics."

Expected Behavior

Single workflow to exit on completion.

Actual Behavior

Loop back to "Previous Task to Me"

Environment

  • OS: Windows
@avetise avetise added the bug Something isn't working label Feb 15, 2025
@avetise avetise changed the title [BUG] missing await [BUG] Infinite loop from legion/groups/team_tools.py Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant