Skip to content

Commit

Permalink
fixup! op_implement: stage2, stage3: when validating list of file to …
Browse files Browse the repository at this point in the history
…be processed at stage4 - try to add ocasionally missing files to message history to prevent possible corruption
  • Loading branch information
DarkCaster committed Jan 1, 2025
1 parent 1bd0d22 commit ba05ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op_implement/stage3.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func Stage3(projectRootDir string,
file, found = utils.CaseInsensitiveFileSearch(file, allFileNames)
if found {
llm.AppendFileToMessage(messageWithTargetFiles, projectRootDir, file, cfg.StringArray(config.K_FilenameTags), logger)
targetFilesToModify = append(targetFilesToModify, file)
otherFilesToModify = append(otherFilesToModify, file)
logger.Warnln("File exist in the project but was not requested previously, adding it to avoid corruption", file)
} else {
otherFilesToModify = append(otherFilesToModify, file)
Expand Down

0 comments on commit ba05ca4

Please sign in to comment.