logger /download
This commit is contained in:
@@ -92,6 +92,7 @@ def get_multiagents_dialog_list(user_id: str) -> List[Dict]:
|
|||||||
|
|
||||||
# 检查响应
|
# 检查响应
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
current_app.logger.info(f"获取MultiAgents对话列表成功: user_id={user_id}, json={response.json()}")
|
||||||
return response.json()
|
return response.json()
|
||||||
else:
|
else:
|
||||||
current_app.logger.error(f"获取MultiAgents对话列表失败: HTTP {response.status_code}")
|
current_app.logger.error(f"获取MultiAgents对话列表失败: HTTP {response.status_code}")
|
||||||
|
|||||||
Reference in New Issue
Block a user