Comments (11)
I'm still getting the message "error: attempted to access outside of working directory". I have saved a .py file to the workspace directory and have tasked auto-gpt with completing the code. I've given auto-gpt the location of the directory "C:auto_gpt\auto_gpt_workspace" for it's goals and description prompts and "C:auto_gpt" is where I run auto-gpt in powershell. With a blank .py file or a .py program template with descriptions and context it continues to have the error message. I've seen people have auto-gpt write code and I'm very excited to try it out myself.
from auto-gpt.
Using a symlink works for me.
ln -s /path/to/my/app ./auto_gpt_workspace
Then in your goals you could write something like
Write documentation for all the functions in app/functions/stripe-hook/stripe.js
from auto-gpt.
Yeah, it's an interesting option.
I think the major concern from that though would be that it could, and would easily delete/overwrite files.
I have been playing about with the same approach as you, cloning the repo into the AI's working directory! 😆
from auto-gpt.
Thank you so much for the kind words 😊 I'm glad you're enjoying it!
from auto-gpt.
What exactly is the working directory for this? I have put my file in the same folder as the main.py file and it still gives me an error saying it's outside the Working Directory. I am working on an M1 Mac, is there other permissions I need to grant for it to have access?
from auto-gpt.
What exactly is the working directory for this? I have put my file in the same folder as the main.py file and it still gives me an error saying it's outside the Working Directory. I am working on an M1 Mac, is there other permissions I need to grant for it to have access?
same issue on my M1 Mac
from auto-gpt.
I tried making a link to the workspace from inside the AutoGPT dir:
~/github/Auto-GPT on master! ⌚ 9:42:38
$ ln -s ~/code/<my_repo>
(Note: From my use, the search_files always returns an empty list, regardless of whether accessing an inode actually under AutoGPT or just a link.)
from auto-gpt.
What exactly is the working directory for this? I have put my file in the same folder as the main.py file and it still gives me an error saying it's outside the Working Directory. I am working on an M1 Mac, is there other permissions I need to grant for it to have access?
It's the "auto_gpt_workspace" folder.
from auto-gpt.
It's the "auto_gpt_workspace" folder.
So, putting the file that you want it to read, inside of "auto_gpt_workspace" should let the program access it?
from auto-gpt.
I have my files in project folders. it is really cumbersome to move them around.
Also another big issue is that files have references to other files in the project folder, so auto-gpt should be optimised to read the referenced files as well, isn't it ?
from auto-gpt.
I am trying to search in the code where is this folder, but i think it should be like an option in the begining to choose the working folder .
Also, another suggestion would be to really do something about the agents like you wrote here ;)
# Soon this will go in a folder where it remembers more stuff about the run(s)
SAVE_FILE = os.path.join(os.path.dirname(__file__), '..', 'ai_settings.yaml')
workaround is to save each yaml file as a backup
from auto-gpt.
Related Issues (20)
- [SSL: CERTIFICATE_VERIFY_FAILED]
- AutoGPT fails with new OpenAI Project Keys HOT 1
- Allow for Azure Blob Storage file storage backend HOT 1
- Support GitHub Fine-grained Access Token or Add Description to Document
- Apple Silicone Neural Engine: Core ML model package format support HOT 6
- Autogpt
- ./run agent start autogpt error HOT 1
- Security issue - Docker-compose persisted volumes HOT 1
- Tried to install AutoGPT since 5 days HOT 2
- agent have started ,but the website is empty,and in the gitpod env, it can not be installed and can not HOT 1
- Use Azure OpenAI with AutoGPT latest version, return 'Invalid OpenAI API key' error. Where Can I set Azure key? HOT 7
- should upgrade dependency for multidict when python3.12 HOT 2
- Remove autogpts folder HOT 1
- Cannot create new agent HOT 5
- How to solve this problem
- how to remove login accesse page
- Add support for Image, Video, and Audio input into Forge and AutoGPT
- The discord link is expired. HOT 1
- ./run setup quits at Setup initiated... HOT 5
- support for gpt-4o? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-gpt.