-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Add project_metadata
the DBs class. Instantiate it in main.py and let its path be .gpteng
#665
Comments
project_metadata
the DBs class. Instantiate it in main.py and let its path be .gpteng
project_metadata
the DBs class. Instantiate it in main.py and let its path be .gpteng
Here's the PR! #712.⚡ Sweep Free Trial: I used GPT-3.5 to create this ticket. You have 0 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit our payment portal. Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.gpt-engineer/gpt_engineer/main.py Lines 1 to 107 in 29e891c
gpt-engineer/gpt_engineer/domain.py Lines 1 to 5 in 29e891c
Step 2: ⌨️ Coding
• Define the `DB` class in `gpt_engineer/project_metadata.py`.
• Import the `DB` class from `gpt_engineer.project_metadata`. • Modify the `DBs` class to include a `project_metadata` field of type `DB`.
• Import the `DB` class from `gpt_engineer.project_metadata`. • Instantiate the `project_metadata` field of `DBs` with the path `.gpteng`.
• Move the `memory`, `archive`, and `file_list.txt` to the `project_metadata` directory. Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for . 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. |
Add a field called
project_metadata
in the DBs class, that is of type DB.Set project_metadata_path
.gpteng
Use it when instantiating DBs
Move: memory, archive, file_list.txt, to project_metadata
(Also, separate PR: start writing all_output.txt to memory)
Checklist
gpt_engineer/project_metadata.py
✅ Commiteec2cae
gpt_engineer/db.py
❌ Failedgpt_engineer/main.py
❌ Failedgpt_engineer/main.py
❌ FailedThe text was updated successfully, but these errors were encountered: