Skip to content

Commit

Permalink
fix: Embedded application displays incomplete data (#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuzhang1 authored Dec 31, 2024
1 parent 95d3665 commit 4ae21bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_answer_list(self) -> List[Answer] | None:
if self.answer_text is None:
return None
application_node_dict = self.context.get('application_node_dict')
if application_node_dict is None:
if application_node_dict is None or len(application_node_dict) == 0:
return [
Answer(self.answer_text, self.view_type, self.runtime_node_id, self.workflow_params['chat_record_id'],
self.context.get('child_node'))]
Expand Down

0 comments on commit 4ae21bc

Please sign in to comment.