We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b7455 commit 977fa26Copy full SHA for 977fa26
src/services/code-index/processors/scanner.ts
@@ -145,11 +145,8 @@ export class DirectoryScanner implements IDirectoryScanner {
145
})
146
}
147
148
- // Check if batch threshold is met and not for Ollama
149
- if (
150
- currentBatchBlocks.length >= BATCH_SEGMENT_THRESHOLD &&
151
- this.embedder.embedderInfo.name !== "ollama"
152
- ) {
+ // Check if batch threshold is met
+ if (currentBatchBlocks.length >= BATCH_SEGMENT_THRESHOLD) {
153
// Copy current batch data and clear accumulators
154
const batchBlocks = [...currentBatchBlocks]
155
const batchTexts = [...currentBatchTexts]
0 commit comments