Skip to content

Commit 0db6ae7

Browse files
Add asDraft parameter to automation examples (#2094)
* Update guides/automate-agent.mdx * Update guides/automate-agent.mdx --------- Co-authored-by: mintlify-development[bot] <109878554+mintlify-development[bot]@users.noreply.github.com>
1 parent a372c33 commit 0db6ae7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

guides/automate-agent.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ The Mintlify app must be installed on your code repository so the agent can fetc
109109
role: 'user',
110110
content: `Update the documentation for our recent pushes to main:\n\nRepository: ${owner}/${repo}`
111111
}
112-
]
112+
],
113+
asDraft: false
113114
};
114115
115116
try {
@@ -346,7 +347,8 @@ Add an HTTP request node to create a documentation job.
346347
"role": "system",
347348
"content": "{{ $json.agentMessage }}"
348349
}
349-
]
350+
],
351+
"asDraft": false
350352
}
351353
```
352354

0 commit comments

Comments
 (0)