yoheinakajima / babyagi

MIT License
19.66k stars 2.57k forks source link

Where do I find the output from the tasks? #291

Open mjdyibrahim opened 1 year ago

mjdyibrahim commented 1 year ago

I'm able to see the tasks on the terminal, but once my instance is closed all the tasks and outcomes are gone. How can I retrieve the output from previous sessions?

I sat the following .env variable COOPERATIVE_MODE=local

yesbroc commented 1 year ago

i dont think you can, you can try ContextFound's fork or just use python babyagi.py > output.txt - that saves the output to a txt file, side effect is that you can only see its thoughts after running.

robertgro commented 1 year ago

Did you install the required libraries before? (especially ray)

As you can see, the implementation is still there, but I couldn't test it myself yet.

Maybe this is what you looking for: how do you stop it and retrieve info later? #53

According to VirusTotal, the file referenced should be safe, providing python code to implement a log to a file mechanism.