From 661397d8c9c610fb170c68a14e746d9c3bf39644 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 7 Jul 2026 15:05:37 -0700 Subject: [PATCH] cli-48: removed auto compaction for /drop, /ls, /save-session and /tokens commands as those are needed to determine compation steps. --- cecli/coders/base_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cecli/coders/base_coder.py b/cecli/coders/base_coder.py index b752735b25c..14bd0419f6c 100755 --- a/cecli/coders/base_coder.py +++ b/cecli/coders/base_coder.py @@ -1733,7 +1733,7 @@ async def generate(self, user_message, preproc): # Compacting is wasteful since /clear will clear everything # and /exit will exit the application stripped = user_message.strip() - if stripped not in ("/clear", "/reset", "/exit", "/quit"): + if stripped not in ("/clear", "/drop", "/exit", "/ls", "/reset", "/save-session", "/tokens", "/quit"): self.compact_context_completed = False await self.compact_context_if_needed() self.compact_context_completed = True