Skip to content

Commit 042e1dc

Browse files
committed
Merge branch 'feat/rag-2' into deploy/rag-dev
2 parents 9e9ccba + dd89c9a commit 042e1dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/models/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def extras(self):
836836
)
837837
elif self.node_type == NodeType.DATASOURCE.value and "datasource_info" in self.execution_metadata_dict:
838838
datasource_info = self.execution_metadata_dict["datasource_info"]
839-
extras["icon"] = datasource_info["icon"]
839+
extras["icon"] = datasource_info.get("icon")
840840
return extras
841841

842842
def _get_offload_by_type(self, type_: ExecutionOffLoadType) -> Optional["WorkflowNodeExecutionOffload"]:

0 commit comments

Comments
 (0)