You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintainers will close issues that have been stale for 14 days if they contain relevant answers.
Adding the label "sweep" will automatically turn the issue into a coded pull request. Works best for mechanical tasks. More info/syntax at: https://docs.sweep.dev/
Expected Behavior
When I run my script on a new project it didn't create any file. I have thus tried to edit a basic project with gpte ..\node-game2\ --model gpt-4o -i.
The expected behavior should edit the existing files.
Current Behavior
No files are edited and I receive an error prompting to post here the logs
Failure Information
This concludes a fully working implementation.Error while improving the project: 'src/index.js'
Could you please upload the debug_log_file.txt in D:\creations\gpt-engineer\..\node-game2\.gpteng\memory/logs folder to github?
FULL STACK TRACE:
Traceback (most recent call last):
File "D:\creations\gpt-engineer\gpt_engineer\core\default\steps.py", line 379, in handle_improve_mode
files_dict = agent.improve(files_dict, prompt)
File "D:\creations\gpt-engineer\gpt_engineer\applications\cli\cli_agent.py", line 208, in improve
files_dict = self.improve_fn(
File "D:\creations\gpt-engineer\gpt_engineer\core\default\steps.py", line 311, in improve_fn
return _improve_loop(ai, files_dict, memory, messages)
File "D:\creations\gpt-engineer\gpt_engineer\core\default\steps.py", line 318, in _improve_loop
files_dict, errors = salvage_correct_hunks(messages, files_dict, memory)
File "D:\creations\gpt-engineer\gpt_engineer\core\default\steps.py", line 351, in salvage_correct_hunks
file_to_lines_dict(files_dict[diff.filename_pre])
KeyError: 'src/index.js'
I have tried using the pip package, this repository at commit 5f9d7ac, using powershell and also git Bash terminal.
One thing I notice is that the path "/" is different with windows's "" maybe, from the log below ?
This concludes a fully working implementation.Error while improving the project: 'src/index.js'
Could you please upload the debug_log_file.txt in D:\creations\gpt-engineer\..\node-game2\.gpteng\memory/logs
Seeing the relative path "breaking" the shown path, I also tried before using a correct path (not going up one folder) and that didn't work either.
The text was updated successfully, but these errors were encountered:
flotos
added
bug
Something isn't working
triage
Interesting but stale issue. Will be close if inactive for 3 more days after label added.
labels
Jun 6, 2024
Policy and info
Expected Behavior
When I run my script on a new project it didn't create any file. I have thus tried to edit a basic project with
gpte ..\node-game2\ --model gpt-4o -i
.The expected behavior should edit the existing files.
Current Behavior
No files are edited and I receive an error prompting to post here the logs
Failure Information
Failure Logs
debug_log_file.txt
I have tried using the pip package, this repository at commit 5f9d7ac, using powershell and also git Bash terminal.
One thing I notice is that the path "/" is different with windows's "" maybe, from the log below ?
Seeing the relative path "breaking" the shown path, I also tried before using a correct path (not going up one folder) and that didn't work either.
The text was updated successfully, but these errors were encountered: