yoheinakajima / babyagi

MIT License
19.66k stars 2.57k forks source link

Bug Fixing BabyCat #318

Open ans-4175 opened 1 year ago

ans-4175 commented 1 year ago

BabyCat couldn't work and terminate properly because of infinity loop on task_list while loop. I also change flagging inside websearch_tool to handle blank SERPAP key

ans-4175 commented 1 year ago

@yoheinakajima if you have time, please review this. I'm trying to understand your initial thinking here and found your loop not executed well

ans-4175 commented 1 year ago

I also add new capabilities to search without depending to SERP_API by using approach on google search scraping using scrape_google_results. I think this is should be default capabilities for autonomous agents to find information.

In that case I turned off web-search switch, instead I offer if SERP_API provided it will use SERP_API results @yoheinakajima