Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io
This commit is contained in:
commit
ba61b0e9e0
2 changed files with 2 additions and 2 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:
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ export function isValidConnection(
|
|||
) ||
|
||||
targetHandle.split("|")[0] === "str"
|
||||
) {
|
||||
let targetNode = reactFlowInstance.getNode(target).data.node;
|
||||
let targetNode = reactFlowInstance?.getNode(target)?.data?.node;
|
||||
if (!targetNode) {
|
||||
if (
|
||||
!reactFlowInstance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue