File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/services/code-index/constants Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import { CODEBASE_INDEX_DEFAULTS } from "@roo-code/types"
22
33/**Parser */
4- export const MAX_BLOCK_CHARS = 1000
4+ export const MAX_BLOCK_CHARS = 2048
55export const MIN_BLOCK_CHARS = 50
66export const MIN_CHUNK_REMAINDER_CHARS = 200 // Minimum characters for the *next* chunk after a split
77export const MAX_CHARS_TOLERANCE_FACTOR = 1.15 // 15% tolerance for max chars
@@ -16,7 +16,7 @@ export const MAX_FILE_SIZE_BYTES = 1 * 1024 * 1024 // 1MB
1616
1717/**Directory Scanner */
1818export const MAX_LIST_FILES_LIMIT_CODE_INDEX = 50_000
19- export const BATCH_SEGMENT_THRESHOLD = 60 // Number of code segments to batch for embeddings/upserts
19+ export const BATCH_SEGMENT_THRESHOLD = 32 // Number of code segments to batch for embeddings/upserts
2020export const MAX_BATCH_RETRIES = 3
2121export const INITIAL_RETRY_DELAY_MS = 500
2222export const PARSING_CONCURRENCY = 10
You can’t perform that action at this time.
0 commit comments