Releases: kyegomez/swarms
Releases · kyegomez/swarms
0.7.01
0.7.0
0.6.6
0.6.5
0.6.4
-
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 themax_iterations
parameter in theBabyAGI
initialization. - Resolution: Commented out the
max_iterations
parameter in theBabyAGI
initialization inside theBossNode
class.
- Root Cause: This error was caused because the
-
Bug: The same
TypeError
persisted.- Root Cause: The
max_iterations
parameter was being passed to theBossNode
initialization ininitialize_boss_node
function ofSwarms
class but it was not handled in theBossNode
class. - Resolution: Reintroduced the
max_iterations
parameter in theBossNode
class, this time to be used as an attribute of theBossNode
itself and not in theBabyAGI
initialization.
- Root Cause: The
-
Bug:
AttributeError: 'BossNode' object has no attribute 'create_task'
- Root Cause: This error was caused because
run_swarms
method inSwarms
class was trying to call acreate_task
method on aBossNode
object, which was not defined in theBossNode
class. - Resolution: Added a
create_task
method inBossNode
class that returns a dictionary containing the objective.
- Root Cause: This error was caused because