🐛 fix(types.py): fix variable name in format method to correctly reference the 'artifacts' variable
This commit is contained in:
parent
6b3fcd5608
commit
43e69f1f45
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue