add clear history tips

This commit is contained in:
awwaawwa
2023-07-27 23:07:59 +08:00
parent 4216c5196e
commit e4ba0e6c85
13 changed files with 16 additions and 14 deletions

View File

@@ -186,7 +186,7 @@ def predict(inputs, llm_kwargs, plugin_kwargs, chatbot, history=[], system_promp
if additional_fn is not None:
from core_functional import handle_core_functionality
inputs, history = handle_core_functionality(additional_fn, inputs, history)
inputs, history = handle_core_functionality(additional_fn, inputs, history, chatbot)
# 处理历史信息
history_feedin = []