We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f30a7d5 commit 1907219Copy full SHA for 1907219
2 files changed
src/treemapper/diffctx/__init__.py
@@ -38,7 +38,7 @@
38
_MAX_EXPANSION_FILES = LIMITS.max_expansion_files
39
_OVERHEAD_PER_FRAGMENT = LIMITS.overhead_per_fragment
40
_FALLBACK_MAX_FILES = 10_000
41
-_MAX_DISCOVERED_FILES = 200
+_MAX_DISCOVERED_FILES = LIMITS.max_discovered_files
42
43
_SEMANTIC_KINDS = frozenset(
44
{
src/treemapper/diffctx/config/limits.py
@@ -9,6 +9,7 @@ class AlgorithmLimits:
9
max_fragments: int = 200
10
max_generated_fragments: int = 5
11
max_candidate_files: int = 5000
12
+ max_discovered_files: int = 200
13
skip_expensive_threshold: int = 2000
14
rare_identifier_threshold: int = 3
15
max_expansion_files: int = 20
0 commit comments