Merge pull request #7679 from continuedev/nate/apply-filters

fix: additional filter for apply / edit
This commit is contained in:
Nate Sesti 2025-09-09 21:53:21 -07:00 • committed by GitHub
commit 3a4c6c310d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -166,8 +166,13 @@ export const CODE_KEYWORDS_ENDING_IN_SEMICOLON = ["def"];
export const CODE_STOP_BLOCK = "[/CODE]";
export const BRACKET_ENDING_CHARS = [")", "]", "}", ";"];
export const PREFIXES_TO_SKIP = ["<COMPLETION>"];
export const LINES_TO_STOP_AT = ["# End of file.", "<STOP EDITING HERE"];
export const LINES_TO_SKIP = ["</START EDITING HERE>"];
export const LINES_TO_STOP_AT = [
"# End of file.",
"<STOP EDITING HERE",
"<|/updated_code|>",
"```",
];
export const LINES_TO_SKIP = ["</START EDITING HERE>", "<|updated_code|>"];
export const LINES_TO_REMOVE_BEFORE_START = [
"<COMPLETION>",
"[CODE]",