@@ -40,9 +40,10 @@ describe("CodeIndexConfigManager", () => {
4040 apiModelId : undefined ,
4141 geminiApiKey : "" ,
4242 geminiEmbeddingDimension : undefined ,
43- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
43+ geminiEmbeddingTaskType : undefined ,
4444 rateLimitSeconds : undefined ,
4545 } ,
46+ openAiCompatibleOptions : undefined ,
4647 qdrantUrl : "http://localhost:6333" ,
4748 qdrantApiKey : "" ,
4849 searchMinScore : 0.4 ,
@@ -78,7 +79,7 @@ describe("CodeIndexConfigManager", () => {
7879 apiModelId : "text-embedding-3-large" ,
7980 geminiApiKey : "" ,
8081 geminiEmbeddingDimension : undefined ,
81- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
82+ geminiEmbeddingTaskType : undefined ,
8283 rateLimitSeconds : {
8384 codebaseIndexEnabled : true ,
8485 codebaseIndexQdrantUrl : "http://qdrant.local" ,
@@ -87,6 +88,7 @@ describe("CodeIndexConfigManager", () => {
8788 codebaseIndexEmbedderModelId : "text-embedding-3-large" ,
8889 } ,
8990 } ,
91+ openAiCompatibleOptions : undefined ,
9092 qdrantUrl : "http://qdrant.local" ,
9193 qdrantApiKey : "test-qdrant-key" ,
9294 searchMinScore : 0.4 ,
@@ -125,7 +127,7 @@ describe("CodeIndexConfigManager", () => {
125127 apiModelId : "text-embedding-3-large" ,
126128 geminiApiKey : "" ,
127129 geminiEmbeddingDimension : undefined ,
128- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
130+ geminiEmbeddingTaskType : undefined ,
129131 rateLimitSeconds : undefined ,
130132 } ,
131133 openAiCompatibleOptions : {
@@ -172,7 +174,7 @@ describe("CodeIndexConfigManager", () => {
172174 apiModelId : "custom-model" ,
173175 geminiApiKey : "" ,
174176 geminiEmbeddingDimension : undefined ,
175- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
177+ geminiEmbeddingTaskType : undefined ,
176178 rateLimitSeconds : undefined ,
177179 } ,
178180 openAiCompatibleOptions : {
@@ -219,7 +221,7 @@ describe("CodeIndexConfigManager", () => {
219221 apiModelId : "custom-model" ,
220222 geminiApiKey : "" ,
221223 geminiEmbeddingDimension : undefined ,
222- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
224+ geminiEmbeddingTaskType : undefined ,
223225 rateLimitSeconds : undefined ,
224226 } ,
225227 openAiCompatibleOptions : {
@@ -266,7 +268,7 @@ describe("CodeIndexConfigManager", () => {
266268 apiModelId : "custom-model" ,
267269 geminiApiKey : "" ,
268270 geminiEmbeddingDimension : undefined ,
269- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
271+ geminiEmbeddingTaskType : undefined ,
270272 rateLimitSeconds : undefined ,
271273 } ,
272274 openAiCompatibleOptions : {
@@ -994,7 +996,7 @@ describe("CodeIndexConfigManager", () => {
994996 apiModelId : "text-embedding-3-large" ,
995997 geminiApiKey : "" ,
996998 geminiEmbeddingDimension : undefined ,
997- geminiEmbeddingTaskType : "CODE_RETRIEVAL_QUERY" ,
999+ geminiEmbeddingTaskType : undefined ,
9981000 rateLimitSeconds : {
9991001 codebaseIndexEnabled : true ,
10001002 codebaseIndexQdrantUrl : "http://qdrant.local" ,
0 commit comments