Skip to content

Commit d896c0c

Browse files
m-y-moCopilot
andauthored
Update taskflows/GRAMMAR.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cbc7f93 commit d896c0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskflows/GRAMMAR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Then the tasks created will have their prompts replaced by:
139139

140140
etc.
141141

142-
Note that when using `repeat_prompt`, the last tool call result of the previous task is used as the iterable. It is recommended to keep the task that creates the iterable short and simple (e.g. just make one tool call to fetch a list of results) to avoid wrong results being passed to the repeate prompt.
142+
Note that when using `repeat_prompt`, the last tool call result of the previous task is used as the iterable. It is recommended to keep the task that creates the iterable short and simple (e.g. just make one tool call to fetch a list of results) to avoid wrong results being passed to the repeat prompt.
143143

144144
The iterable can also contain a list of primitives like string or number, in which case, the template `{{ RESULT }}` can be used in the `repeat_prompt` prompt to parse the results instead:
145145

0 commit comments

Comments
 (0)