Changesets · Branches · Tags · Compare
| Changeset | 6faf0486120584657002f5bedc05ddcd50c6d675f37c61b9fd688db846de883c |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-09-09 21:53 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-09 21:53 -07:00 |
| Parents | 586afb307a7f, 616e0b50739f |
1 file changed
modified core/autocomplete/filtering/streamTransforms/lineStream.ts +7 −2
| @@ -166,8 +166,13 @@ | ||
| 166 | 166 | export const CODE_STOP_BLOCK = "[/CODE]"; |
| 167 | 167 | export const BRACKET_ENDING_CHARS = [")", "]", "}", ";"]; |
| 168 | 168 | export const PREFIXES_TO_SKIP = ["<COMPLETION>"]; |
| 169 | -export const LINES_TO_STOP_AT = ["# End of file.", "<STOP EDITING HERE"]; | |
| 170 | -export const LINES_TO_SKIP = ["</START EDITING HERE>"]; | |
| 169 | +export const LINES_TO_STOP_AT = [ | |
| 170 | + "# End of file.", | |
| 171 | + "<STOP EDITING HERE", | |
| 172 | + "<|/updated_code|>", | |
| 173 | + "```", | |
| 174 | +]; | |
| 175 | +export const LINES_TO_SKIP = ["</START EDITING HERE>", "<|updated_code|>"]; | |
| 171 | 176 | export const LINES_TO_REMOVE_BEFORE_START = [ |
| 172 | 177 | "<COMPLETION>", |
| 173 | 178 | "[CODE]", |