From 2d5cc4e10a14d4cf6b46a59140a0a47e2855a1e7 Mon Sep 17 00:00:00 2001 From: Jordan Diaz Date: Fri, 3 Apr 2026 23:17:58 +0000 Subject: [PATCH] Knowledge completo en contexto: 50K token budget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Budget de 15K dejaba fuera docs críticos (css-js-conventions, hooks-and-api). Con 42K tokens totales y 128K de contexto, incluir todo es la mejor estrategia. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/context/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context/engine.py b/src/context/engine.py index 38d5178..09fdd89 100644 --- a/src/context/engine.py +++ b/src/context/engine.py @@ -299,8 +299,8 @@ class ContextEngine: for d in sorted(all_docs, key=lambda d: len(d.content)) ] - # Fill token budget with top-ranked docs - max_kb_tokens = 15_000 + # Include ALL docs — 42K tokens fits well within model context (128K) + max_kb_tokens = 50_000 token_budget = max_kb_tokens full_docs: list[MemoryDocument] = []