Merge pull request #1265 from QwenLM/jklj077-patch-2

Update cli_demo.py
This commit is contained in:
Yang Fan
2024-05-27 13:42:12 +08:00
committed by GitHub

View File

@@ -139,7 +139,7 @@ def main():
print(_WELCOME_MSG)
_gc()
continue
elif command in ['clear-history', 'clh']:
elif command in ['clear-his', 'clh']:
print(f'[INFO] All {len(history)} history cleared')
history.clear()
_gc()