+ {#if flow?.archived}
+
This flow was archived
+
+ {/if}
- {#if !emptyString(flow?.description)}
-
-
-
-
- {/if}
-
- {#if deploymentInProgress}
-
-
-
- Deployment in progress
- {#if deploymentJobId}
- view job
- {/if}
-
-
- {/if}
- {#if flow.lock_error_logs && flow.lock_error_logs != ''}
-
- This flow has not been deployed successfully because of the following errors:
-
-
-
- {/if}
-
- {#if chatInputEnabled}
-
-
- {:else}
- {@const hasSchema = flow.schema && Object.keys(flow.schema.properties ?? {}).length > 0}
-
-
- {#if hasSchema || inputSelected}
-
- {
- savedInputsV2?.resetSelected()
- }}
- {inputSelected}
- />
-
- {#if hasSchema}
- {
- runForm?.setCode(JSON.stringify(args ?? {}, null, '\t'))
- }}
- />
- {/if}
-
- {/if}
-
- {#if flow.schema?.prompt_for_ai !== undefined}
-
{
- goto(`/flows/edit/${flow?.path}`)
- }}
- runnableType="flow"
+ {#if !emptyString(flow?.description)}
+
+
- {/if}
+
+
+ {/if}
-
+
+
+ Deployment in progress
+ {#if deploymentJobId}
+ view job
+ {/if}
+
+
+ {/if}
+ {#if flow.lock_error_logs && flow.lock_error_logs != ''}
+
+
+ This flow has not been deployed successfully because of the following errors:
+
+
+
+
+ {/if}
+
+ {#if chatInputEnabled}
+
+
-
+ {:else}
+ {@const hasSchema =
+ flow.schema && Object.keys(flow.schema.properties ?? {}).length > 0}
+
+