Skip to content

Conversation

@401lrx
Copy link

@401lrx 401lrx commented Mar 23, 2024

  • Fix bug / bug

💡 Background or solution

  • The role_assign method of the TasksolvingRule class is invoked by the step method of the BasicEnvironment class in tasksolving. The agents passed during the call are of dictionary type and they are used as dictionaries within the role_assign method. Therefore, there exists a type annotation error.
  • In the role_assign method of Rule class, the list of critic agents obtained by calling the astep method of role_assigner is saved in a variable named agents, which causes a naming conflict.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant