Merge branch 'preview' into nate/onboarding
This commit is contained in:
commit
a343a75962
3 changed files with 4 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ const targetToLanceDb = {
|
|||
entryPoints: ["src/index.ts"],
|
||||
bundle: true,
|
||||
outfile: esbuildOutputFile,
|
||||
external: ["esbuild", ...DYNAMIC_IMPORTS, "./xhr-sync-worker.js"],
|
||||
external: ["esbuild", ...DYNAMIC_IMPORTS, "./xhr-sync-worker.js", "vscode"],
|
||||
format: "cjs",
|
||||
platform: "node",
|
||||
sourcemap: true,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import {
|
|||
filterEnglishLinesAtEnd,
|
||||
filterEnglishLinesAtStart,
|
||||
fixCodeLlamaFirstLineIndentation,
|
||||
stopAtLines,
|
||||
streamWithNewLines,
|
||||
} from "../../autocomplete/lineStream";
|
||||
import { streamLines } from "../../diff/util";
|
||||
|
|
@ -479,6 +480,7 @@ const EditSlashCommand: SlashCommand = {
|
|||
lineStream = filterEnglishLinesAtStart(lineStream);
|
||||
|
||||
lineStream = filterEnglishLinesAtEnd(filterCodeBlockLines(lineStream));
|
||||
lineStream = stopAtLines(lineStream);
|
||||
|
||||
generator = streamWithNewLines(
|
||||
fixCodeLlamaFirstLineIndentation(lineStream),
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ function useSetup(dispatch: Dispatch<any>) {
|
|||
});
|
||||
|
||||
useWebviewListener("submitMessage", async (data) => {
|
||||
streamResponse(data.message);
|
||||
streamResponse(data.message, { useCodebase: false });
|
||||
});
|
||||
|
||||
useWebviewListener("addContextItem", async (data) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue