arg_shell clears history before running

This commit is contained in:
Hayden Johnson 2025-05-08 09:09:39 -07:00
parent 399f1b1aca
commit f6597f4bd0

View file

@ -194,6 +194,7 @@ Description:\n
def handle_interactive_input(self, args): def handle_interactive_input(self, args):
if args.shell: if args.shell:
self.assistant.history = [self.assistant.system_prompt()]
self.arg_shell(args) self.arg_shell(args)
exit() exit()