Skyvern-AI / skyvern

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

Add parameterKeys to textPrompt #1191

Closed wintonzheng closed 1 week ago

wintonzheng commented 1 week ago

[!IMPORTANT] Add parameterKeys support to textPrompt nodes and refactor TaskNodeParametersPanel to ParametersMultiSelect.

  • Behavior:
    • Add parameterKeys to textPrompt nodes in FlowRenderer.tsx, TextPromptNode.tsx, and types.ts.
    • Update WorkflowParametersPanel.tsx to handle parameterKeys for textPrompt nodes when parameters are deleted.
    • Modify getWorkflowBlock() and convertToNode() in workflowEditorUtils.ts to include parameterKeys for textPrompt nodes.
  • Refactor:
    • Rename TaskNodeParametersPanel to ParametersMultiSelect and update imports in TaskNode.tsx and TextPromptNode.tsx.

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