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] = []