fix build err
This commit is contained in:
parent
11b699c61d
commit
df52d7c54e
2 changed files with 1 additions and 9 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue