Added /clear cmd

This commit is contained in:
Paul Gauthier 2023-06-05 11:31:47 -07:00
parent c30b302363
commit c17e454608
2 changed files with 11 additions and 1 deletions

View file

@ -72,7 +72,6 @@ class Coder:
else:
self.console = Console(force_terminal=True, no_color=True)
self.commands = Commands(self.io, self)
if not self.check_model_availability(main_model):
main_model = Models.GPT35.value
@ -89,6 +88,8 @@ class Coder:
self.show_diffs = show_diffs
self.commands = Commands(self.io, self)
self.set_repo(fnames)
if self.repo: