取消重置时调用claude_model的reset方法

This commit is contained in:
Rid7 2023-05-15 15:47:05 +08:00
parent f90ec93dfc
commit d795dc1a81

View File

@ -116,7 +116,7 @@ class ClaudeHandle(Process):
# 是否重置 # 是否重置
if len(self.local_history) > 0 and len(history) == 0: if len(self.local_history) > 0 and len(history) == 0:
await self.claude_model.reset() # await self.claude_model.reset()
self.local_history = [] self.local_history = []
# 开始问问题 # 开始问问题