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

Use the path .gpteng for storing logs etc per default #649

Closed
3 tasks done
AntonOsika opened this issue Sep 2, 2023 · 1 comment
Closed
3 tasks done

Use the path .gpteng for storing logs etc per default #649

AntonOsika opened this issue Sep 2, 2023 · 1 comment
Labels
good first issue Good for newcomers sweep Assigns Sweep to an issue or pull request.

Comments

@AntonOsika
Copy link
Owner

AntonOsika commented Sep 2, 2023

Details

Change the workflow of gpt-engineer to be like so:

  • Always set memory and archive folders paths to be to the .gpteng folder (which will create it per default if it doesn't exist)
  • Always set workspace and input folder paths to be directly in the project path
Checklist
  • gpt_engineer/db.py

• Modify the __init__ method of the DB class to set the default paths for the memory and archive folders to be in the .gpteng folder.
• Modify the __init__ method of the DB class to set the default paths for the workspace and input folders to be in the project path.
• Modify the __init__ method of the DB class to create the .gpteng folder if it does not exist.

  • tests/test_db.py

• Update any tests related to the default paths of the memory, archive, workspace, and input folders to reflect the changes in the DB class's __init__ method.
• Add a test to verify that the .gpteng folder is created if it does not exist.

  • docs/intro/db_class.md

• Document the changes to the default paths of the memory, archive, workspace, and input folders.
• Document the creation of the .gpteng folder if it does not exist.

@AntonOsika AntonOsika added good first issue Good for newcomers sweep Assigns Sweep to an issue or pull request. labels Sep 2, 2023
@AntonOsika AntonOsika changed the title Use .gpteng for storing logs etc per default Use the path .gpteng for storing logs etc per default Sep 2, 2023
Repository owner deleted a comment from sweep-ai bot Sep 12, 2023
@ATheorell
Copy link
Collaborator

Closing this in favor of #669 and #665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants