Skip to content

Commit 3f67cc5

Browse files
committed
Removes unused embedding queue
Removes the unused embedding queue property from the Gemini embedder class. This simplifies the class and removes potential confusion. The queue was initialized but never used, indicating it was likely a remnant of previous development.
1 parent 1b38421 commit 3f67cc5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/code-index/embedders/gemini.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { GEMINI_RATE_LIMIT_DELAY_MS, MAX_BATCH_RETRIES, INITIAL_RETRY_DELAY_MS }
99
export class CodeIndexGeminiEmbedder extends GeminiHandler implements IEmbedder {
1010
private readonly defaultModelId: string
1111
private readonly defaultTaskType: string
12-
private embeddingQueue: Promise<void> = Promise.resolve() // Sequential queue for embedding operations
1312

1413
/**
1514
* Creates a new Gemini embedder instance.

0 commit comments

Comments
 (0)