From cdd150be42c523afce4c8290808c6d2fdd8d9b89 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 5 Feb 2025 13:02:16 -0800 Subject: [PATCH] cleanup --- aider/coders/base_coder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 8f13baff9..287bd9685 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -146,12 +146,11 @@ class Coder: if edit_format != from_coder.edit_format and done_messages and summarize_from_coder: try: done_messages = from_coder.summarizer.summarize_all(done_messages) - except ValueError as e: + except ValueError: # If summarization fails, keep the original messages and warn the user io.tool_warning( "Chat history summarization failed, continuing with full history" ) - io.tool_warning(str(e)) # Bring along context from the old Coder update = dict(