update evaluate
This commit is contained in:
parent
badd2735b5
commit
f8ff625d76
|
@ -58,7 +58,7 @@ class EvalTemplate:
|
|||
if not use_history:
|
||||
query = "\n\n".join(["".join(item) for item in history] + [query])
|
||||
history = []
|
||||
return query, resp, history
|
||||
return query.strip(), resp, history
|
||||
|
||||
|
||||
eval_templates = {
|
||||
|
|
Loading…
Reference in New Issue