Spaces:
Runtime error
Runtime error
取消重置时调用claude_model的reset方法
Browse files
request_llm/bridge_claude.py
CHANGED
|
@@ -116,7 +116,7 @@ class ClaudeHandle(Process):
|
|
| 116 |
|
| 117 |
# 是否重置
|
| 118 |
if len(self.local_history) > 0 and len(history) == 0:
|
| 119 |
-
await self.claude_model.reset()
|
| 120 |
self.local_history = []
|
| 121 |
|
| 122 |
# 开始问问题
|
|
|
|
| 116 |
|
| 117 |
# 是否重置
|
| 118 |
if len(self.local_history) > 0 and len(history) == 0:
|
| 119 |
+
# await self.claude_model.reset()
|
| 120 |
self.local_history = []
|
| 121 |
|
| 122 |
# 开始问问题
|