From ec8679015bbb91c56f26789cecdf14fc88ab9607 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 25 Jan 2024 12:46:44 -0300 Subject: [PATCH] Fix issue with artifacts in PromptVertex --- src/backend/langflow/graph/vertex/types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/langflow/graph/vertex/types.py b/src/backend/langflow/graph/vertex/types.py index 7439876fa..87e0ab879 100644 --- a/src/backend/langflow/graph/vertex/types.py +++ b/src/backend/langflow/graph/vertex/types.py @@ -265,6 +265,7 @@ class PromptVertex(Vertex): # Remove the handle_keys from the artifacts # so the prompt format doesn't break artifacts.pop("handle_keys", None) + template = "" try: if ( not hasattr(self._built_object, "template")