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

git clone uses a wrong base dir #1971

Closed
2 tasks done
nponeccop opened this issue Apr 16, 2023 · 1 comment · Fixed by #2020
Closed
2 tasks done

git clone uses a wrong base dir #1971

nponeccop opened this issue Apr 16, 2023 · 1 comment · Fixed by #2020
Assignees

Comments

@nponeccop
Copy link
Contributor

nponeccop commented Apr 16, 2023

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

GPT-3 or GPT-4

  • I am using Auto-GPT with GPT-3 (GPT-3.5)

Steps to reproduce 🕹

Found another bug with regard to git.

When it tries to clone to a wrong absolute dir, I provide feedback and tell it that it is in a filesystem sandbox and thus should be using relative paths.

And it uses correctly, using the following:

NEXT ACTION:  COMMAND = clone_repository ARGUMENTS = {'repository_url': 'https://github.com/Torantulino/Auto-GPT', 'clone_path': 'Auto-GPT'}

Then it tries to read README.md:

NEXT ACTION:  COMMAND = read_file ARGUMENTS = {'file': 'Auto-GPT/README.md'}

An absolutely sane command, but... the repo was cloned relatively to the process current dir, not relatively to the sandbox dir. So README.md isn't there even though Auto-GPT did everything correctly.

Current behavior 😯

It cannot read the file

Expected behavior 🤔

It should be able to read the file.

Your prompt 📝

ai_goals:
- Google something about Auto-GPT
- Write README.md
- Terminate
ai_name: Manager-GPT
ai_role: a project manager in a software company
@Wladastic
Copy link
Contributor

I think it is just missing the path description.
Otherwise it will clone into the folder where you started it from.

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

Successfully merging a pull request may close this issue.

3 participants