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

@@ -225,7 +225,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 = []
for i in range(len(history)//2):