From de69b706881bf3bf8c5dacaa732c8a9fced70cbf Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Fri, 7 Jun 2024 12:16:42 -0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(types.py):=20reformat=20C?= =?UTF-8?q?hatOutputResponse=20instantiation=20for=20better=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/base/langflow/graph/vertex/types.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/backend/base/langflow/graph/vertex/types.py b/src/backend/base/langflow/graph/vertex/types.py index e6f6bf085..fa527f75e 100644 --- a/src/backend/base/langflow/graph/vertex/types.py +++ b/src/backend/base/langflow/graph/vertex/types.py @@ -111,7 +111,12 @@ 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, type=artifact_type, + 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