From 19a786416846d3ce446973f6e9dabb859642a9d2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 25 Jun 2025 11:53:24 -0700 Subject: [PATCH] refactor: Remove unused head variable in ChatSummary --- aider/history.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aider/history.py b/aider/history.py index 9836be0ca..8d0bce7b3 100644 --- a/aider/history.py +++ b/aider/history.py @@ -64,7 +64,6 @@ class ChatSummary: return self.summarize_all(messages) # Split head and tail - head = messages[:split_index] tail = messages[split_index:] # Only size the head once