From 2757ae4069df4e53c922af74fcea5e192ae7d2c5 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Fri, 7 Jun 2024 12:16:31 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20(types.py):=20add=20missing=20ar?= =?UTF-8?q?tifact=5Ftype=20to=20ChatOutputResponse=20to=20ensure=20correct?= =?UTF-8?q?=20artifact=20type=20is=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/base/langflow/graph/vertex/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/graph/vertex/types.py b/src/backend/base/langflow/graph/vertex/types.py index c2e6ad4af..e6f6bf085 100644 --- a/src/backend/base/langflow/graph/vertex/types.py +++ b/src/backend/base/langflow/graph/vertex/types.py @@ -111,7 +111,7 @@ class InterfaceVertex(Vertex): message = self._built_object artifact_type = ArtifactType.STREAM if stream_url is not None else ArtifactType.OBJECT artifacts = ChatOutputResponse( - message=message, sender=sender, sender_name=sender_name, stream_url=stream_url, files=files + message=message, sender=sender, sender_name=sender_name, stream_url=stream_url, files=files, type=artifact_type, ) self.will_stream = stream_url is not None