Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: Serious issues with subgraph splitting + running graphs via rivet-node #349

Open ai-made-approachable opened 5 months ago

ai-made-approachable commented 5 months ago

What happened?

I have a subgraph that is succesfully running, but the output of the subgraph returns that it has 4x not run instead.

image

Looks like if the 1st iteration is "Not ran" that all other iterations will also be "Not ran" even if that is not the case: image image

This issue does not happen if the 1st iteration returns something and later iterations do not return something.

What was the expected functionality?

I like to be able to use splitting + subgraph to filter data.

Describe your environment

MacOS, Node 14.0.0, etc.

Relevant log output

No response

Relevant screenshots

No response

Code of Conduct

abrenneke commented 4 months ago

Yeah, split and "Not Ran" don't interact well together, unfortunately. I'm not sure how to fix it correctly yet.