From f6597f4bd0538ca9ad7b967a48d59503f8c3416b Mon Sep 17 00:00:00 2001 From: Hayden Johnson Date: Thu, 8 May 2025 09:09:39 -0700 Subject: [PATCH] arg_shell clears history before running --- refactored.py | 1 + 1 file changed, 1 insertion(+) diff --git a/refactored.py b/refactored.py index f394de5..fb82027 100644 --- a/refactored.py +++ b/refactored.py @@ -194,6 +194,7 @@ Description:\n def handle_interactive_input(self, args): if args.shell: + self.assistant.history = [self.assistant.system_prompt()] self.arg_shell(args) exit()