Skip to content

Commit

Permalink
fix: dont store invalid commands in log
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Jan 8, 2025
1 parent c41df98 commit aaf2e9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gptme/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def handle_cmd(
manager.write()
help()
else:
manager.undo(1, quiet=True)
print("Unknown command")


Expand Down

0 comments on commit aaf2e9e

Please sign in to comment.