feat: migrate workflow use_cache field to generate_script (#3154)

Co-authored-by: devsy-bot <no-reply@devsy.ai>
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
devsy-bot[bot]
2025-08-10 09:02:23 -07:00
committed by GitHub
parent 16596e5c61
commit 1a3938a756
13 changed files with 56 additions and 25 deletions

View File

@@ -110,7 +110,7 @@ const useWorkflowSave = () => {
max_screenshot_scrolls: saveData.settings.maxScreenshotScrolls,
totp_verification_url: saveData.workflow.totp_verification_url,
extra_http_headers: extraHttpHeaders,
use_cache: saveData.settings.useScriptCache,
generate_script: saveData.settings.useScriptCache,
cache_key: saveData.settings.scriptCacheKey,
workflow_definition: {
parameters: saveData.parameters,