Skip to content

Commit 4b52f41

Browse files
committed
fix: resolve merge conflict in codebase-index.ts
1 parent de043a5 commit 4b52f41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/types/src/codebase-index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const CODEBASE_INDEX_DEFAULTS = {
2121
export const codebaseIndexConfigSchema = z.object({
2222
codebaseIndexEnabled: z.boolean().optional(),
2323
codebaseIndexQdrantUrl: z.string().optional(),
24-
codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini"]).optional(),
24+
codebaseIndexEmbedderProvider: z.enum(["openai", "ollama", "openai-compatible", "gemini", "mistral"]).optional(),
2525
codebaseIndexEmbedderBaseUrl: z.string().optional(),
2626
codebaseIndexEmbedderModelId: z.string().optional(),
2727
codebaseIndexEmbedderModelDimension: z.number().optional(),
@@ -60,6 +60,7 @@ export const codebaseIndexModelsSchema = z.object({
6060
ollama: z.record(z.string(), modelProfileSchema).optional(),
6161
"openai-compatible": z.record(z.string(), modelProfileSchema).optional(),
6262
gemini: z.record(z.string(), modelProfileSchema).optional(),
63+
mistral: z.record(z.string(), modelProfileSchema).optional(),
6364
})
6465

6566
export type CodebaseIndexModels = z.infer<typeof codebaseIndexModelsSchema>
@@ -75,6 +76,7 @@ export const codebaseIndexProviderSchema = z.object({
7576
codebaseIndexOpenAiCompatibleApiKey: z.string().optional(),
7677
codebaseIndexOpenAiCompatibleModelDimension: z.number().optional(),
7778
codebaseIndexGeminiApiKey: z.string().optional(),
79+
codebaseIndexMistralApiKey: z.string().optional(),
7880
})
7981

8082
export type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>

0 commit comments

Comments
 (0)