SuperAGI icon indicating copy to clipboard operation
SuperAGI copied to clipboard

⚠️ Stopped: Maximum iterations exceeded! - ForkPoolWorker

Open teamspoad opened this issue 1 year ago • 3 comments

CMD LOG:

superagi-celery-1 | [2023-06-11 08:56:56,036: WARNING/ForkPoolWorker-7] Execute agent:2023-06-11T08:56:56.012956,2 superagi-celery-1 | [2023-06-11 08:56:56,082: WARNING/ForkPoolWorker-7] ITERATION_LIMIT_CROSSED superagi-celery-1 | [2023-06-11 08:56:56,084: INFO/ForkPoolWorker-7] Task execute_agent[638e4565-c2b9-468c-a473-744720bfc2e5] succeeded in 0.04820369102526456s: None

GUI STOPPED: ⚠️ Stopped: Maximum iterations exceeded!

This was 10 minutes in, several tests were succcessful previous to this. It was using the scraping tool at the time (I think) at IRS.gov (not my idea, talk to the sAGI

No explanation as to "what" iterations were exceeded, or how to fix. It should try harder to keep the show on the road, by other means, or by helping to fix the problem.

teamspoad avatar Jun 11 '23 18:06 teamspoad

@teamspoad Hey in advanced options while creating an agent there is a slider in UI to set the iteration limit of agents, by default it is set to 25, you can try increasing that and check.

luciferlinx101 avatar Jun 11 '23 18:06 luciferlinx101

Click advanced, and you can increase to 100. One problem I am having is that it actually doesn't stop running when you click stop. So be careful when iterations are that high....

AIProDeveloper avatar Jun 11 '23 20:06 AIProDeveloper

@AIProDeveloper It stops may be there can be a UI bug just try refreshing the page and confirm.

luciferlinx101 avatar Jun 12 '23 04:06 luciferlinx101

@teamspoad you can increase the iterations when you're creating an agent. Closing this as this seemed to be the reason for the issue creation.

neelayan7 avatar Jun 27 '23 12:06 neelayan7