Skip to content

Commit

Permalink
Merge pull request #3 from rminchev1/fix/workspace
Browse files Browse the repository at this point in the history
Update ignored folders and refactor paths
  • Loading branch information
rminchev1 authored Oct 11, 2023
2 parents c4b4086 + 5fe0f2c commit 4395a3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gpt_engineer/file_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from typing import List, Union

IGNORE_FOLDERS = {"site-packages", "node_modules", "venv"}
IGNORE_FOLDERS = {"site-packages", "node_modules", "venv", "bin", "obj", "wwwroot"}
FILE_LIST_NAME = "file_list.txt"


Expand Down
9 changes: 5 additions & 4 deletions gpt_engineer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ def main(
)

input_path = Path(project_path).absolute()
memory_path = input_path / "memory"
workspace_path = input_path / "workspace"
archive_path = input_path / "archive"
workspace_path = input_path
base_metadata_path = input_path / ".gpteng"
memory_path = base_metadata_path / "memory"
archive_path = base_metadata_path / "archive"

dbs = DBs(
memory=DB(memory_path),
logs=DB(memory_path / "logs"),
input=DB(input_path),
input=DB(workspace_path),
workspace=DB(workspace_path),
preprompts=DB(
Path(__file__).parent / "preprompts"
Expand Down

0 comments on commit 4395a3d

Please sign in to comment.