Skip to content

Commit 3e09b14

Browse files
committed
fix(code-index): search the task workspace without initializing managers
1 parent a0f2e03 commit 3e09b14

3 files changed

Lines changed: 678 additions & 1 deletion

File tree

‎src/core/tools/CodebaseSearchTool.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class CodebaseSearchTool extends BaseTool<"codebase_search"> {
5757
throw new Error("Extension context is not available.")
5858
}
5959

60-
const manager = CodeIndexManagerRegistry.getOrCreate(context)
60+
const manager = CodeIndexManagerRegistry.getOrCreate(context, workspacePath)
6161

6262
if (!manager) {
6363
throw new Error("CodeIndexManager is not available.")

0 commit comments

Comments
 (0)