Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
58c26e6
1
Parent(s):
49aea6d
bugfix: history won't change
Browse files
modules/models/base_model.py
CHANGED
|
@@ -651,6 +651,7 @@ class BaseLLMModel:
|
|
| 651 |
msg = "删除了一组对话的token计数记录"
|
| 652 |
self.all_token_counts.pop()
|
| 653 |
msg = "删除了一组对话"
|
|
|
|
| 654 |
return chatbot, msg
|
| 655 |
|
| 656 |
def token_message(self, token_lst=None):
|
|
|
|
| 651 |
msg = "删除了一组对话的token计数记录"
|
| 652 |
self.all_token_counts.pop()
|
| 653 |
msg = "删除了一组对话"
|
| 654 |
+
self.auto_save(chatbot)
|
| 655 |
return chatbot, msg
|
| 656 |
|
| 657 |
def token_message(self, token_lst=None):
|