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

Generated file not found in working directory after code generation #155

Open
saladinlorenz opened this issue Sep 26, 2024 · 3 comments
Open

Comments

@saladinlorenz
Copy link

After generating code using Agent Zero, the agent confirms that the file has been saved, providing the filename with the extension. However, when checking the working directory, the file is not present.

Steps to reproduce:

Run the agent to generate code.
The agent indicates that the file has been saved (e.g., script.py).
Check the working directory for the file, but it is missing.
image

@inzi
Copy link

inzi commented Sep 26, 2024

Same here. I had to tell it to save the file to the work directory.

@MovLab2
Copy link

MovLab2 commented Sep 26, 2024

Yes I have this problem also, and I use what inzi said. Sometimes I tell agent0 to use, ls -l /root/

@saladinlorenz
Copy link
Author

@inzi Thanks for the info, I’ll try specifying the working directory manually as well.

@MovLab2 Thanks for your input! I tried using ls -l /root/ like you mentioned, but it didn’t work for me. Could you explain in more detail how you’re using this command with Agent Zero? Is there a specific step I need to follow before running it?

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