Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.78k stars 739 forks source link

Fix webhook callback url in copy curl #1109

Closed wintonzheng closed 4 weeks ago

wintonzheng commented 4 weeks ago

[!IMPORTANT] Fix handling of webhookCallbackUrl in RunWorkflowForm to ensure correct inclusion in requests and cURL commands.

  • Behavior:
    • In RunWorkflowForm, separate webhookCallbackUrl from other parameters in onSubmit() and onClick() to ensure it's included correctly in the request body.
    • Update fetchToCurl call to include webhookCallbackUrl if present.
  • Functions:
    • Modify onSubmit() and onClick() in RunWorkflowForm.tsx to handle webhookCallbackUrl separately from other parameters.

This description was created by Ellipsis for 71335b096786562ecf53564b922e978cc0aeb9aa. It will automatically update as commits are pushed.