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 tweaks problem in curl #1947

Merged
merged 2 commits into from
May 22, 2024
Merged

fix tweaks problem in curl #1947

merged 2 commits into from
May 22, 2024

Conversation

anovazzi1
Copy link
Contributor

Refactor getCurlCode function to fix JSON formatting issue

Copy link

vercel bot commented May 22, 2024

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

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 7:06pm

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels May 22, 2024
@anovazzi1 anovazzi1 requested review from Cristhianzl and removed request for Cristhianzl May 22, 2024 19:03
@anovazzi1 anovazzi1 merged commit f7d336b into dev May 22, 2024
3 of 11 checks passed
@@ -398,7 +398,7 @@ export function getCurlCode(
-d '{"input_value": "message",
"output_type": "chat",
"input_type": "chat",
"tweaks": ${JSON.stringify(tweaksObject, null, 2)}'
"tweaks": ${JSON.stringify(tweaksObject, null, 2)}}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is interesting change without a matching left braces!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello @msmygit, could you clarify your comment for me? I'm not quite sure I understand it. The number of braces seems correct to me, but I might be missing something. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants