remove truncate

This commit is contained in:
2025-11-14 22:24:28 +00:00
parent 9d73eb3679
commit 83424f7027
-6
View File
@@ -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