Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
·
4799527
1
Parent(s):
48d2f65
bugfix: 川虎助理保存历史出错
Browse files
modules/models/base_model.py
CHANGED
@@ -876,7 +876,7 @@ class BaseLLMModel:
|
|
876 |
if type(user_question) == list:
|
877 |
user_question = user_question[0]["text"]
|
878 |
filename = replace_special_symbols(user_question)[:16] + ".json"
|
879 |
-
return self.rename_chat_history(filename, chatbot
|
880 |
else:
|
881 |
return gr.update()
|
882 |
|
|
|
876 |
if type(user_question) == list:
|
877 |
user_question = user_question[0]["text"]
|
878 |
filename = replace_special_symbols(user_question)[:16] + ".json"
|
879 |
+
return self.rename_chat_history(filename, chatbot)
|
880 |
else:
|
881 |
return gr.update()
|
882 |
|