Skip to content

Commit a88a952

Browse files
committed
feat: LanceDB for code index vector store
- Added LanceDBManager class to handle installation and verification of LanceDB binaries. - Introduced methods for checking current platform, installing dependencies, and cleaning up. - Updated WebviewMessage interface to include new vector store provider options. - Enhanced storage utility functions to support synchronous operations for custom storage paths. - Updated CodeIndexPopover component to handle new settings for vector store provider and local directory. - Added internationalization support for new settings in multiple languages.
1 parent 836371c commit a88a952

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1490
-182
lines changed

packages/types/src/codebase-index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const codebaseIndexConfigSchema = z.object({
2222
codebaseIndexEnabled: z.boolean().optional(),
2323
codebaseIndexQdrantUrl: z.string().optional(),
2424
codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini", "mistral"]).optional(),
25+
codebaseIndexVectorStoreProvider: z.enum(["local", "qdrant"]).optional(),
26+
codebaseIndexLocalVectorStoreDirectory: z.string().optional(),
2527
codebaseIndexEmbedderBaseUrl: z.string().optional(),
2628
codebaseIndexEmbedderModelId: z.string().optional(),
2729
codebaseIndexEmbedderModelDimension: z.number().optional(),

0 commit comments

Comments
 (0)