yoheinakajima / babyagi

MIT License
19.9k stars 2.61k forks source link

Added Config module #227

Closed TheSmuks closed 1 year ago

francip commented 1 year ago

Honestly, I have been thinking about similar structure/class. However, so far no changes we've done have broken the model where anyone can take babyagi.py and run it standalone. This change does break this unfortunately. Let me mull tomorrow and try to figure out how we can integrate this. Or if you have any ideas...

TheSmuks commented 1 year ago

If the config class is declared and initialized in babyagi.py it can run standalone and the config can be imported from babyagi.py where it is needed.