From 7a32ce0df3091ba1d6e5977e8e7fbc0172b9313e Mon Sep 17 00:00:00 2001 From: Jeason <1710884619@qq.com> Date: Wed, 8 Apr 2026 09:29:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AI=E7=9B=91=E6=8E=A7=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=BF=AE=E5=A4=8D=20=20Conversation=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=20category/source=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 get_error_detail 中对 conv.category 和 conv.source 的引用 - 改为返回 session_id 和 invocation_method(Conversation 实际有的字段) --- src/web/blueprints/monitoring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/blueprints/monitoring.py b/src/web/blueprints/monitoring.py index 6e3c8b6..18a17cd 100644 --- a/src/web/blueprints/monitoring.py +++ b/src/web/blueprints/monitoring.py @@ -496,8 +496,8 @@ def get_error_detail(conv_id): 'assistant_response': conv.assistant_response, 'confidence_score': conv.confidence_score, 'response_time': conv.response_time, - 'category': conv.category, - 'source': conv.source, + 'session_id': conv.session_id, + 'invocation_method': conv.invocation_method, } }) except Exception as e: