Open RamPageMz opened 2 months ago
I apologize for the delayed response.
The n_round
parameter simulates the number of rounds, defaulting to 3. In your case, with only 3 rounds, the program stops after the Developer finishes coding, before the QA role receives messages.
You can resolve it by modifying your code as follows:
async def main(
...
n_round: int = 4, # Change the value of `n_round` to 4
...
):
...
await team.run(n_round=n_round) # Change here
...
I create a program and have 4 roles: Researcher, PM, Developer, QA Message flow: Researcher -> PM -> Developer -> QA
When no QA roles/actions, the program works well and can generate the python code. When i added a new role QA and find it still ends at the Developer stage. And the role QA cannot received the message from Developer.
That's what i'm confused.