yoheinakajima / babyagi

MIT License
19.9k stars 2.61k forks source link

Adding main method to contain main loop #211

Closed MalikMAlna closed 1 year ago

MalikMAlna commented 1 year ago

Containing the main loop in a main method makes the code more modular and functional in the long term. Also, it's better to practice keeping that logic in a main function if anyone ever wants to turn this code into a module.