github kyegomez/swarms 0.6.4

latest releases: 6.8.1, 5.3.7, 2.5.0...
18 months ago
  1. Bug: TypeError: BossNode.__init__() got multiple values for argument 'max_iterations'

    • Root Cause: This error was caused because the BossNode class was incorrectly trying to assign a value to the max_iterations parameter in the BabyAGI initialization.
    • Resolution: Commented out the max_iterations parameter in the BabyAGI initialization inside the BossNode class.
  2. Bug: The same TypeError persisted.

    • Root Cause: The max_iterations parameter was being passed to the BossNode initialization in initialize_boss_node function of Swarms class but it was not handled in the BossNode class.
    • Resolution: Reintroduced the max_iterations parameter in the BossNode class, this time to be used as an attribute of the BossNode itself and not in the BabyAGI initialization.
  3. Bug: AttributeError: 'BossNode' object has no attribute 'create_task'

    • Root Cause: This error was caused because run_swarms method in Swarms class was trying to call a create_task method on a BossNode object, which was not defined in the BossNode class.
    • Resolution: Added a create_task method in BossNode class that returns a dictionary containing the objective.

Don't miss a new swarms release

NewReleases is sending notifications on new releases.