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):
|
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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue