Skip to content

Can't edit files #1185

@fabiandecuveland

Description

@fabiandecuveland

Policy and info

  • 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

I'm trying to have gpt-engineer change a list of files.

Current Behavior

I ran gpt-engineer <project_dir> -i.
After manually editing the generated list of files in file_selection.toml to include all 7 files in the folder, I run the command again. The files are being read and changes proposed, but instead of writing the changes to the files, the following error appears after the LLM response:

WARNING:root:multiple candidates for starting index
WARNING:root:multiple candidates for starting index
WARNING:root:multiple candidates for starting index
Error while improving the project: 'dashboard/index.js'

The files have not been changed.

Failure Information

macOS 14.5
iTerm
Python 3.12

Failure Logs

debug_log_file.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageInteresting but stale issue. Will be close if inactive for 3 more days after label added.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions