Merge branch 'form_io' of https://github.com/logspace-ai/langflow into form_io

This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-10 16:41:29 -03:00
commit 7cded3898e

View file

@ -225,7 +225,7 @@ class PromptVertex(Vertex):
# so the prompt format doesn't break
artifacts.pop("handle_keys", None)
try:
return self._built_object.format(**self.artifacts)
return self._built_object.format(**artifacts)
except KeyError:
return super()._built_object_repr()
else: