You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running a single node (not entire flow) with inputs that include sub dictionary from parent node output, there is a bug in how the inputs are parsed that causes the run to fail.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
Run entire flow. Create a parent node that has an output like {"result": {"key1":"foo", "key2":"bar"}}.
Create child node. Input should be something like ${parent_node.output.result.key1}
Run entire flow. Flow will succeed.
Now run just the child node. It will fail with error like
pf.flow.node_test failed with InvalidReferenceProperty: Flow execution failed. Invalid property 'result.key1' when accessing the node 'parent_node'. Please check the property and try again.
Expected behavior
The run of the node should pass when running single node if it also passed when running entire flow.
Screenshots
If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
Promptflow Package Version using pf -v: [1.16.1]
Operating System: [Ubuntu 20.04.5 LTS on WSL]
Python Version using python --version: [3.11.10
The text was updated successfully, but these errors were encountered:
Describe the bug
When running a single node (not entire flow) with inputs that include sub dictionary from parent node output, there is a bug in how the inputs are parsed that causes the run to fail.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
pf.flow.node_test failed with InvalidReferenceProperty: Flow execution failed. Invalid property 'result.key1' when accessing the node 'parent_node'. Please check the property and try again.
Expected behavior
The run of the node should pass when running single node if it also passed when running entire flow.
Screenshots
If applicable, add screenshots to help explain your problem.
Running Information(please complete the following information):
pf -v
: [1.16.1]python --version
: [3.11.10The text was updated successfully, but these errors were encountered: