Describe the bug
A clear and concise description of what the bug is.
In swarms.structs.agent.py:
Agent Class, class member "all_gpus" is not declare in init,
which leads to member function un() error. due to this following line of code
all_gpus = all_gpus or self.all_gpus
To Reproduce
Steps to reproduce the behavior:
in example.py:
user has to add following extra line of code to make program work:
agent.all_gpus = False
result = agent.run(
"How can I establish a ROTH IRA to buy stocks and get a tax break? What are the criteria. Create a report on this question.",
all_cores=True,
)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Describe the bug A clear and concise description of what the bug is.
In swarms.structs.agent.py: Agent Class, class member "all_gpus" is not declare in init,
which leads to member function un() error. due to this following line of code all_gpus = all_gpus or self.all_gpus
To Reproduce Steps to reproduce the behavior:
in example.py:
user has to add following extra line of code to make program work: agent.all_gpus = False
result = agent.run( "How can I establish a ROTH IRA to buy stocks and get a tax break? What are the criteria. Create a report on this question.", all_cores=True, )
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Upvote & Fund