vtcode_config/constants/chunking.rs
1/// Maximum lines before triggering chunking for read_file
2pub const MAX_LINES_THRESHOLD: usize = 2_000;
3
4/// Number of lines to read from start of file when chunking
5pub const CHUNK_START_LINES: usize = 800;
6
7/// Number of lines to read from end of file when chunking
8pub const CHUNK_END_LINES: usize = 800;
9
10/// Maximum content size for write_file before chunking (in bytes)
11pub const MAX_WRITE_CONTENT_SIZE: usize = 500_000; // 500KB
12
13/// Chunk size for write operations (in bytes)
14pub const WRITE_CHUNK_SIZE: usize = 50_000; // 50KB chunks