Me:rge branch 'preview' of https://github.com/continuedev/continue into preview

This commit is contained in:
Nate Sesti 2024-02-21 14:48:13 -08:00
commit 4b003807ac
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ import {
} from "../..";
import { getBasename } from "../../util";
import { getFileOutlineHighlights } from "llm-code-highlighter/dist/index.continue";
import { getOutlines } from "llm-code-highlighter/dist/index.continue";
class CodeOutlineContextProvider extends BaseContextProvider {
static description: ContextProviderDescription = {
@ -32,7 +32,7 @@ class CodeOutlineContextProvider extends BaseContextProvider {
};
})
);
const outlines = await getFileOutlineHighlights(
const outlines = await getOutlines(
allFiles
.filter((file) => file.content.length > 0)
.map((file) => {

View file

@ -26,7 +26,7 @@
"fastest-levenshtein": "^1.0.16",
"handlebars": "^4.7.8",
"js-tiktoken": "^1.0.8",
"llm-code-highlighter": "^0.0.9",
"llm-code-highlighter": "^0.0.13",
"node-fetch": "^3.3.2",
"node-html-markdown": "^1.3.0",
"ollama": "^0.4.6",