refactor: Remove unused head variable in ChatSummary

This commit is contained in:
Paul Gauthier 2025-06-25 11:53:24 -07:00 committed by Paul Gauthier (aider)
parent 320ee06cc3
commit 19a7864168

View file

@ -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