From 15b25aea0563a99976993be279250ec4c85c9f51 Mon Sep 17 00:00:00 2001 From: Hayden Johnson Date: Sat, 10 May 2025 17:27:05 -0700 Subject: [PATCH] Remove unfinished save_conversation impl --- refactored.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/refactored.py b/refactored.py index fb82027..e44d428 100644 --- a/refactored.py +++ b/refactored.py @@ -295,15 +295,7 @@ class CommandParser: def save_conversation(self, filename='conversation.md'): # TODO finish this - if not filename.endswith('.md'): - filename += '.md' - base, extension = os.path.splitext(filename) - i = 1 - while os.path.exists(filename): - filename = f"{base}_{i}{extension}" - i += 1 - with open(filename, 'w') as f: - f.write(conversation) + pass def handle_clear(self): self.assistant.history = [self.assistant.system_prompt()]