-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipeline loops fail when BranchJoiner receives multiple inputs #7960
Comments
@mrm1001 yes - we can't do any react agent loops until this one has been resolved |
I had to adapt the Pipeline a bit following the recent changes but I can't seem to reproduce the issue.
|
I made a small mistake in one of the custom Components that I used to replace the
|
Pipeline loops in Haystack currently fail when the
prompt_concatenator_after_observation
component (see attached pipeline graph) loops backChatMessage
list to themain_input
BranchJoiner. The BranchJoiner fails with the following error message:This issue seem to originate in the BranchJoiner receiving both the initial input and the looped back input simultaneously, violating its pre-condition of a single input.
Steps to reproduce:
Expected behavior:
The pipeline should handle loops correctly, allowing the BranchJoiner to process looped inputs sequentially rather than simultaneously.
Actual behavior:
The pipeline fails when the loop feeds back to the BranchJoiner, causing it to receive multiple inputs at once raising the above mentioned exception
The text was updated successfully, but these errors were encountered: