mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-01 03:43:24 +08:00
Update chatglm_llm.py
This commit is contained in:
parent
92185962ce
commit
a1fd0b8750
@ -63,7 +63,7 @@ class ChatGLM(BaseAnswer, LLM, ABC):
|
||||
temperature=self.temperature,
|
||||
stopping_criteria=stopping_criteria_list
|
||||
)):
|
||||
self.checkPoint.clear_torch_cache()
|
||||
# self.checkPoint.clear_torch_cache()
|
||||
history[-1] = [prompt, stream_resp]
|
||||
answer_result = AnswerResult()
|
||||
answer_result.history = history
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user