fix build err

This commit is contained in:
Nate 2024-12-08 17:45:56 -08:00
parent 11b699c61d
commit df52d7c54e
2 changed files with 1 additions and 9 deletions

View file

@ -183,11 +183,6 @@ class RepoMapGenerator {
}
private logRepoMapGeneration(): void {
console.debug(
`Generated repo map for ${this.repoMapDirs.join(", ")} at ${
this.repoMapPath
}`,
);
if (this.contentTokens >= this.maxRepoMapTokens) {
console.debug(
"Full repo map was unable to be generated due to context window limitations",

View file

@ -1,6 +1,5 @@
import { XCircleIcon } from "@heroicons/react/24/outline";
import { IndexingProgressUpdate } from "core";
import TransformersJsEmbeddingsProvider from "core/llm/llms/TransformersJsEmbeddingsProvider";
import { useAppSelector } from "../../../redux/hooks";
import { isJetBrains } from "../../../util";
@ -14,9 +13,7 @@ function IndexingProgressErrorText({ update }: IndexingProgressErrorTextProps) {
);
const showJbError =
(isJetBrains() &&
embeddingsProvider === TransformersJsEmbeddingsProvider.model) ||
true;
(isJetBrains() && embeddingsProvider === "all-MiniLM-L6-v2") || true;
if (showJbError) {
return (