langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Slow response time (API vs Playground)

Open SavvySupport opened this issue 1 year ago • 1 comments

Bug Description

It's a lot slower to trigger chats via API than in Playground.

In Playground, it will say it takes <2 seconds, however through the API.. it takes a lot longer.

Reproduction

  1. Trigger chat via API

Expected behavior

Expecting the same response time, as in Playground.

Who can help?

No response

Operating System

MacOS

Langflow Version

1.1.1

Python Version

3.10

Screenshot

No response

Flow File

No response

SavvySupport avatar Dec 16 '24 07:12 SavvySupport

you can refer my finding https://github.com/langflow-ai/langflow/issues/4394

d0uub avatar Dec 17 '24 07:12 d0uub

Hi, @SavvySupport. I'm Dosu, and I'm helping the langflow team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Significant discrepancy in response times between the API and the Playground.
  • Observed on MacOS with Langflow version 1.1.1 and Python 3.10.
  • Expectation: API response times should be similar to the Playground (under 2 seconds).
  • User d0uub suggested checking related issue #4394 for insights.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of Langflow.
  • If no further updates are provided, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Mar 18 '25 16:03 dosubot[bot]