gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

Inconsistent handling of file paths in 'gpt-engineer/main.py'

Open Madhav-MKNC opened this issue 2 years ago • 1 comments

The code constructs file paths using different approaches, which can lead to inconsistency and potential errors. For example, the memory_path and workspace_path variables are created using Path objects, while the identity path is constructed using Path(os.path.curdir). It is advisable to use a consistent method, either Path or os.path, throughout the codebase to maintain clarity and prevent issues related to file path manipulation.

Madhav-MKNC avatar Jun 19 '23 20:06 Madhav-MKNC

Would you be interested on creating a PR with those changes?

patillacode avatar Jun 21 '23 13:06 patillacode

solved ✅

AntonOsika avatar Jul 08 '23 15:07 AntonOsika