Fix issue with artifacts in PromptVertex

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-25 12:46:44 -03:00
commit ec8679015b

View file

@ -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")