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.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too