Spaces:
Paused
Paused
Upload app.py
Browse files
app.py
CHANGED
@@ -700,7 +700,7 @@ def handle_request():
|
|
700 |
request_data = request.get_json()
|
701 |
|
702 |
# 检查是否是新对话
|
703 |
-
if not request_data.get('continue_conversation',
|
704 |
multi_auth_manager.clear_context() # 清除之前的上下文
|
705 |
|
706 |
model_id = request_data.get('model', '')
|
|
|
700 |
request_data = request.get_json()
|
701 |
|
702 |
# 检查是否是新对话
|
703 |
+
if not request_data.get('continue_conversation', True):
|
704 |
multi_auth_manager.clear_context() # 清除之前的上下文
|
705 |
|
706 |
model_id = request_data.get('model', '')
|