langflow-ai / langflow

⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.
http://www.langflow.org
MIT License
17.87k stars 2.68k forks source link

api curl code not filled with tweaks #1788

Open mountain15 opened 2 weeks ago

mountain15 commented 2 weeks ago

Describe the bug I have prefilled variables with a value in a component I then click on API and see that in tweaks they are filled in however in the curls code they are not filled when I change the prefilled parameter that it copies the information

Browser and Version

To Reproduce Steps to reproduce the behavior:

  1. Go to 'component'
  2. Click on 'api'
  3. click on 'tweaks'
  4. Change the variable default input
  5. Go to "cURL
  6. Now the variable are in the code

Screenshots tweaks-curl-not filled.webm

See video

Additional context I want brief the developer with the right information on the fields to that they know what the names are from the variables

jaschahuisman commented 2 weeks ago

I'm experiencing the same issue @Cristhianzl

It would be nice if the API examples were filled in with default values for the inputs, now it's just empty json objects with abstract node id's, for where I don't know the input keys by heart.

Screenshot 2024-05-04 at 18 06 30
Cristhianzl commented 1 week ago

Hello @jaschahuisman @mountain15,

First of all, thank you for your report.

Sorry for the delayed response; last week, we were working on new features, so I wasn't able to assist you with this issue.

You can follow up on the status of this PR here: https://github.com/langflow-ai/langflow/pull/1847 This PR will fix the issue you mentioned and will also enhance the performance of the application using tweaks.

Let me know if I can assist you with anything else.

Regards.

yamonkjd commented 1 week ago

Hello @jaschahuisman @mountain15,

First of all, thank you for your report.

Sorry for the delayed response; last week, we were working on new features, so I wasn't able to assist you with this issue.

You can follow up on the status of this PR here: #1847 This PR will fix the issue you mentioned and will also enhance the performance of the application using tweaks.

Let me know if I can assist you with anything else.

Regards.

I think you're a genius for choosing Zustand. It seems like the best solution that everyone needs.