Skip to content

Commit b0a22b3

Browse files
committed
fix add missing type defined
1 parent 30399ed commit b0a22b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/types/src/provider-settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ export const PROVIDER_SETTINGS_KEYS = keysOf<ProviderSettings>()([
319319
"geminiApiKey",
320320
"googleGeminiBaseUrl",
321321
"geminiEmbeddingTaskType",
322+
"geminiEmbeddingDimension",
322323
// OpenAI Native
323324
"openAiNativeApiKey",
324325
"openAiNativeBaseUrl",

src/services/code-index/config-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export class CodeIndexConfigManager {
326326
qdrantUrl: this.qdrantUrl,
327327
qdrantApiKey: this.qdrantApiKey,
328328
searchMinScore: this.searchMinScore,
329-
geminiEmbeddingDimension: this.geminiEmbeddingDimension,
329+
geminiEmbeddingDimension: this.geminiOptions?.geminiEmbeddingDimension,
330330
}
331331
}
332332

0 commit comments

Comments
 (0)