langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Issue with OpenAI Component Outputs When Running Multiple Components in Parallel

Open joaoguilhermeS opened this issue 1 year ago • 1 comments

Bug Description

When running two or more OpenAI components at the same time (parallel) the string output of them are returning always the same text. This way I am not able to combine two outputs from LLMs.

Reproduction

  1. Create a Flow where two OpenAI Components Run in Parallel
  2. Display each Openai output with the Text Output Component
  3. Checkout the output of the each Text Output and check that it is actually receiving the same output twice even if the self.status of each seems to be fine.

Expected behavior

The expected behavior was that each Message output goes to its respectively place in the Flow, this way we could use them separately or combine them for example.

Who can help?

No response

Operating System

Ubuntu Linux 22.04

Langflow Version

1.0.17

Python Version

3.12

Screenshot

image

Flow File

OpenAI Parallel Bug Execution.json

joaoguilhermeS avatar Sep 11 '24 18:09 joaoguilhermeS

Hi @joaoguilhermeS,

Thank you for sharing the error.

Please check this with the latest version 1.0.18 of Langflow. The issue should be resolved in PR #3698

I will be closing this issue in a couple of days. Please let me know if you face any further issues.

Thank you!

edwinjosechittilappilly avatar Sep 12 '24 00:09 edwinjosechittilappilly