From 83424f7027695910624a0110b9353320c059e5de Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Fri, 14 Nov 2025 22:24:28 +0000 Subject: [PATCH] remove truncate --- mcp_codebase.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mcp_codebase.py b/mcp_codebase.py index 0dfd49d..c103f99 100644 --- a/mcp_codebase.py +++ b/mcp_codebase.py @@ -3127,12 +3127,6 @@ def find_context_boundaries(lines: List[str], start: int, end: int, language: st context_start = decorator_start + 1 context_info.append("decorators") - # Limit expansion to reasonable bounds (max 100 lines of context) - max_context = 100 - if context_end - context_start > max_context: - context_end = context_start + max_context - context_info.append("truncated to 100 lines") - info_str = " + ".join(context_info) if context_info else "no additional context" return context_start, context_end, info_str