From a0d3031b4fbe2a0786cf1a5ba02101951693e613 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Fri, 31 Oct 2025 14:00:06 +0800 Subject: [PATCH] fix: Unable to export dialogue log data due to error (#4298) --- apps/application/serializers/application_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/serializers/application_chat.py b/apps/application/serializers/application_chat.py index a94f3a82e..7fda52675 100644 --- a/apps/application/serializers/application_chat.py +++ b/apps/application/serializers/application_chat.py @@ -151,7 +151,7 @@ class ApplicationChatQuerySerializers(serializers.Serializer): @staticmethod def to_row(row: Dict): details = row.get('details') or {} - padding_problem_text = ' '.join(node.get("answer", "") for key, node in details.items() if + padding_problem_text = ' '.join((node.get("answer", "") or "") for key, node in details.items() if node.get("type") == 'question-node') search_dataset_node_list = [(key, node) for key, node in details.items() if node.get("type") == 'search-dataset-node' or node.get(