diff --git a/core/commands/slash/onboard.ts b/core/commands/slash/onboard.ts index 3252a5bbb..7895101f8 100644 --- a/core/commands/slash/onboard.ts +++ b/core/commands/slash/onboard.ts @@ -1,6 +1,6 @@ import ignore from "ignore"; -import { FileType, IDE, SlashCommand } from "../.."; +import type { FileType, IDE, SlashCommand } from "../.."; import { defaultIgnoreDir, defaultIgnoreFile, diff --git a/core/context/retrieval/repoMapRequest.ts b/core/context/retrieval/repoMapRequest.ts index f70f0a594..39223321b 100644 --- a/core/context/retrieval/repoMapRequest.ts +++ b/core/context/retrieval/repoMapRequest.ts @@ -73,11 +73,6 @@ This is the question that you should select relevant files for: "${input}"`; return []; } - // IMPORANT - - // const subDirPrefix = filterDirUri - // ? getUriPathBasename(filterDirUri) + "/" - // : ""; const fileUris = content .split("")[1] ?.split("")[0] diff --git a/core/index.d.ts b/core/index.d.ts index ec6af891f..f9e6aa0e7 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -492,7 +492,7 @@ export interface LLMOptions { deploymentId?: string; } -export type RequireAtLeastOne = Pick< +type RequireAtLeastOne = Pick< T, Exclude > & diff --git a/core/indexing/walkDir.ts b/core/indexing/walkDir.ts index 979f4d6f4..1d8aa485a 100644 --- a/core/indexing/walkDir.ts +++ b/core/indexing/walkDir.ts @@ -1,6 +1,6 @@ import ignore, { Ignore } from "ignore"; -import { FileType, IDE } from ".."; +import type { FileType, IDE } from ".."; import { DEFAULT_IGNORE_DIRS,