From 520bbc35b00d401a29c6a105ca3232665520bc16 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 4 Aug 2023 15:13:09 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(chat.py):=20remove=20un?= =?UTF-8?q?used=20code=20line=20that=20accessed=20vertex=5Ftype=20attribut?= =?UTF-8?q?e=20of=20a=20vertex=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/api/v1/chat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/langflow/api/v1/chat.py b/src/backend/langflow/api/v1/chat.py index d407a9142..dd3407d1b 100644 --- a/src/backend/langflow/api/v1/chat.py +++ b/src/backend/langflow/api/v1/chat.py @@ -124,7 +124,6 @@ async def stream_build(flow_id: str): yield str(StreamData(event="log", data=log_dict)) vertex.build() params = vertex._built_object_repr() - vertex.vertex_type valid = True logger.debug(f"Building node {str(vertex.vertex_type)}") logger.debug(f"Output: {params}")