-
Notifications
You must be signed in to change notification settings - Fork 44.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results are not written to a file (disappointing ongoing issue) #3583
Comments
Symptoms:
Attempted resolutions: Examined similar bug reports, including |
Maybe you can try again with: See if the file is written to the folder " auto_gpt_workspace folder" |
Thanks for the suggestion, @amokduke! These are the default settings, if I remember right. If so, I already tested them. By the way, is the folder auto_gpt_workspace supposed to be created by the user? Because the program didn't create it... |
Looks like you're using Docker? If so, this worked for me:
With this approach, the warning goes away and the file is written to outside of Docker as expected. |
I'm also running into this problem. I've confirmed that writing to the workspace within Docker yields the expected result, so I know it isn't a problem with my use of Docker. |
Thanks for the suggestion, @gpt-hacker (true to your name!)
Unable to find image 'autogpt:latest' locally What do we need to do to run Auto-GPT in Docker? |
I am using docker-compose and followed the installation guide in the documentation, but it has a wrong mount path of AutoGPT workspace volume In Docs: What path I saw in the logs: After changing the docker-compose volume, it worked |
the docs/website are way out of date by now, I also didn't find those very useful TBH - probably, these should be updated, too - at the very least by copying info from this discussion EDIT: Saw auto-gpt.json missing today for the first time, too - haven't looked at the code in question, but just touching/creating the file solved the problem for me (and it is being used). So probably we need a simple fix that creates the file if it's missing. Might be related to #1246 and #3034 |
Related error on Windows using GIT and Linux: Command write_to_file returned: Error: write_to_file() got an unexpected keyword argument 'content' |
Thanks to @Boostrix comment, I solved the problem. Yes, the documentation is out-of-date. Thanks a lot! |
Which Operating System are you using?
Windows
Which version of Auto-GPT are you using?
Latest Release
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
Ask Auto-GPT to perform a task and write to results to a file. The program performs the task perfectly, but doesn’t provide a file containing the results (although it reports that it has done so).
Current behavior 😯
Expected behavior 🤔
Write the results to a file
Your prompt 📝
Write to a file the name of the capital of the state of Montana
Your Logs 📒
The text was updated successfully, but these errors were encountered: