Include max steps in saved task (#499)

This commit is contained in:
Kerem Yilmaz
2024-06-21 13:08:00 -07:00
committed by GitHub
parent 49d7e77b3a
commit 58735a9c20
4 changed files with 77 additions and 5 deletions

View File

@@ -48,6 +48,8 @@ function CreateNewTaskFormPage() {
const dataSchema = data.workflow_definition.blocks[0].data_schema;
const maxSteps = data.workflow_definition.blocks[0].max_steps_per_run;
return (
<SavedTaskForm
initialValues={{
@@ -61,6 +63,7 @@ function CreateNewTaskFormPage() {
data.workflow_definition.blocks[0].data_extraction_goal,
extractedInformationSchema: JSON.stringify(dataSchema, null, 2),
navigationPayload,
maxSteps,
}}
/>
);