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()