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:
- Use template for flow Document Q&A
- Go to the API section that will give you example on how to call the API.
- Observe that in cURL and Python API examples input_value is suggested to be filled for prompt.
- Attempt to call the API with input_value:
Observe that the prompt gets ignored.
Additional context
When using tweak on chat input, the flow behaves correctly:
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