Skip to content

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

Description

@avetise

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions