mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-20 16:35:47 +08:00
Merge pull request #1265 from QwenLM/jklj077-patch-2
Update cli_demo.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user