Skip to content
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

have a working space for created files? #8

Open
EinTyp3001 opened this issue Apr 19, 2023 · 5 comments
Open

have a working space for created files? #8

EinTyp3001 opened this issue Apr 19, 2023 · 5 comments

Comments

@EinTyp3001
Copy link

Hi.
nice job!
I am testing your implementation (my kind of standard test for auto gpts is to let them create a web-portal about cats with depressions) and i foundt hat created files are written in the root loopgpt folder.

greetings.

@FayazRahman
Copy link
Collaborator

Hey there @EinTyp3001! Having a dedicated workspace for the agent would be pretty neat. Can you tell me if your working directory was the loopgpt folder when this happened?

@EinTyp3001
Copy link
Author

Hi @FayazRahman. yes, I started the code from the loopgbt directory. I have done some more trials, it is always writing files in the "./", wherever the program was started from. A solution would be to add an optional "--workingfolder" option? Thx!

@FayazRahman
Copy link
Collaborator

@EinTyp3001 I would suggest not starting the code from the loopgpt directory. You can run it from anywhere else. We do have plans for a workspace folder option so please stay tuned for that!

@EinTyp3001
Copy link
Author

thank you!

@prom3theu5
Copy link

prom3theu5 commented Apr 30, 2023

I had issues trying to do that with podman on an m1 mac
Whenever I mounted a directory as workspace, the google_search task would return disk i/o errors

I had to work around it by mounting a path, but still operating within a directory within the container, then as a pre and post agent run step save and restore workspace to this directory

You can see it in the agent.py file in here: https://github.com/prom3theu5/loopgpt-playground

Disclaimer - I'm mainly a .net engineer - its been a long long time since i did any serious python lol (a very long time indeed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants