arg_shell clears history before running
This commit is contained in:
parent
399f1b1aca
commit
f6597f4bd0
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue