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

Add proxy location to workflow run screen #1158

Closed wintonzheng closed 3 weeks ago

wintonzheng commented 3 weeks ago

[!IMPORTANT] Add proxy location selection to RunWorkflowForm with new ProxyLocation type and update related API types.

  • Types:
    • Add ProxyLocation type in types.ts with options for various residential proxies and None.
    • Update proxy_location fields in CreateTaskRequest, WorkflowApiResponse, WorkflowRunApiResponse, and WorkflowRunStatusApiResponse to use ProxyLocation type.
  • Form:
    • Add proxyLocation field to RunWorkflowForm in RunWorkflowForm.tsx with a select input for choosing proxy locations.
    • Default proxyLocation to Residential in form initial values.
    • Update getRunWorkflowRequestBody to include proxyLocation in the request body.
  • Misc:
    • Refactor onSubmit and cURL generation to use getRunWorkflowRequestBody.

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