turn on run_with code and ai fallback by default for task v2 (#3593)

This commit is contained in:
Shuchang Zheng
2025-10-02 12:43:40 -07:00
committed by GitHub
parent 5468a73615
commit 2b4720e031
5 changed files with 7 additions and 0 deletions

View File

@@ -2136,6 +2136,7 @@ function convert(workflow: WorkflowApiResponse): WorkflowCreateYAMLRequest {
blocks: convertBlocksToBlockYAML(workflow.workflow_definition.blocks),
},
is_saved_task: workflow.is_saved_task,
status: workflow.status,
run_with: workflow.run_with,
cache_key: workflow.cache_key,
ai_fallback: workflow.ai_fallback ?? undefined,

View File

@@ -524,6 +524,7 @@ export type WorkflowApiResponse = {
totp_verification_url: string | null;
totp_identifier: string | null;
max_screenshot_scrolls: number | null;
status: string | null;
created_at: string;
modified_at: string;
deleted_at: string | null;

View File

@@ -14,6 +14,7 @@ export type WorkflowCreateYAMLRequest = {
is_saved_task?: boolean;
max_screenshot_scrolls?: number | null;
extra_http_headers?: Record<string, string> | null;
status?: string | null;
run_with?: string | null;
cache_key?: string | null;
ai_fallback?: boolean;