langflow-ai / langflow

⛓️ Langflow is a visual framework for building multi-agent and RAG applications. It's open-source, Python-powered, fully customizable, model and vector store agnostic.

Home Page:http://www.langflow.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API: input_value is ignored and not passed to Chat Input

radek3911 opened this issue · comments

Describe the bug
When calling API endpoint run/<flow_id> the input_value is suggested by code generator in Langflow UI, however after submitting request to the endpoint the input_value seems to be ignored and not passed into the Chat input node.

Version

  • Langflow v1.0.0a23

To Reproduce
Steps to reproduce the behavior:

  1. Use template for flow Document Q&A
    image
  2. Go to the API section that will give you example on how to call the API.
  3. Observe that in cURL and Python API examples input_value is suggested to be filled for prompt.
    image
  4. Attempt to call the API with input_value:
    image

Observe that the prompt gets ignored.

Additional context
When using tweak on chat input, the flow behaves correctly:
image

Hey @radek3911

How are you?

Definitely a bug.

I'll get to it ASAP.

Thanks!

Hey @radek3911

How are you?

Definitely a bug.

I'll get to it ASAP.

Thanks!

Hello thank you for a Quick fix! I noticed you fixed 2 birds with one Stone i also experienced the issue with stream=false getting ignored.

Thank you very much :)
Have a nice day