Skip to content
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

Fix API not passing input_value to Chat Input #1749

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Fix API not passing input_value to Chat Input #1749

merged 2 commits into from
Apr 18, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request fixes the issue where the input_value was being ignored and not passed into the Chat input node when calling the API endpoint run/<flow_id>. The problem was observed in Langflow v1.0.0a23. The fix includes updating the Graph.from_payload method to include the user_id parameter and fixing the process_tweaks function to handle the stream flag correctly. This resolves issue #1744.

Also fixes global variables not being honored when using the API

Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview Apr 18, 2024 2:46pm

@ogabrielluiz ogabrielluiz merged commit 3ad2919 into dev Apr 18, 2024
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant