Elffuss BraidHub

kikocis/continue public

fix: prevent lines removal on docstring insertion
Changesetc87dbaaa35515776accffafa9d4fe32bf5bab68a2b3508524ea44c93712589cc
Authoruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-07-01 13:23 +05:30
Committeruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-07-01 13:23 +05:30
Parents44309e42d796

Browse the files at this changeset

1 file changed

modified extensions/vscode/src/commands.ts +4 −2
@@ -157,6 +157,8 @@
157157 throw new Error("Config not loaded");
158158 }
159159
160+ console.log("debug1 onlyOneInsertion", onlyOneInsertion);
161+
160162 const llm =
161163 config.selectedModelByRole.edit ?? config.selectedModelByRole.chat;
162164
@@ -355,10 +357,10 @@
355357 "continue.writeDocstringForCode": async () => {
356358 captureCommandTelemetry("writeDocstringForCode");
357359
358- streamInlineEdit(
360+ void streamInlineEdit(
359361 "docstring",
360362 "Write a docstring for this code. Do not change anything about the code itself.",
361- true,
363+ false,
362364 );
363365 },
364366 "continue.fixCode": async () => {