Skip to content

Commit aa20fde

Browse files
authored
Merge pull request #4632 from continuedev/pe/remove-pre-indexed-docs-ui
chore: remove docs suggestions
2 parents ad29bf8 + 805d2e2 commit aa20fde

File tree

13 files changed

+28
-793
lines changed

13 files changed

+28
-793
lines changed

core/core.ts

-10
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import { DataLogger } from "./data/log";
2222
import { streamDiffLines } from "./edit/streamDiffLines";
2323
import { CodebaseIndexer, PauseToken } from "./indexing/CodebaseIndexer";
2424
import DocsService from "./indexing/docs/DocsService";
25-
import { getAllSuggestedDocs } from "./indexing/docs/suggestions";
2625
import Ollama from "./llm/llms/Ollama";
2726
import { createNewPromptFileV2 } from "./promptFiles/v2/createNewPromptFile";
2827
import { callTool } from "./tools/callTool";
@@ -807,14 +806,6 @@ export class Core {
807806
// this.docsService.setPaused(msg.data.id, msg.data.paused); // not supported yet
808807
}
809808
});
810-
on("docs/getSuggestedDocs", async (msg) => {
811-
if (hasRequestedDocs) {
812-
return;
813-
} // TODO, remove, hack because of rerendering
814-
hasRequestedDocs = true;
815-
const suggestedDocs = await getAllSuggestedDocs(this.ide);
816-
this.messenger.send("docs/suggestions", suggestedDocs);
817-
});
818809
on("docs/initStatuses", async (msg) => {
819810
void this.docsService.initStatuses();
820811
});
@@ -989,4 +980,3 @@ export class Core {
989980
// private
990981
}
991982

992-
let hasRequestedDocs = false;

core/indexing/docs/suggestions/index.ts

-129
This file was deleted.

core/indexing/docs/suggestions/packageCrawlers/Python.ts

-63
This file was deleted.

core/indexing/docs/suggestions/packageCrawlers/TsJs.ts

-77
This file was deleted.

0 commit comments

Comments
 (0)