Skip to content

Commit 02c5a30

Browse files
anticomputerCopilot
andcommitted
fix(examples): use html_url in the large-list iteration taskflow
The repeat_prompt template referenced `result.url`, but the GitHub tool returns pull request objects with `html_url` (no `url`), so rendering failed under StrictUndefined. Reference `result.html_url` to match the tool output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b70ebaf commit 02c5a30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/taskflows/example_large_list_result_iter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ taskflow:
2424
agents:
2525
- seclab_taskflow_agent.personalities.assistant
2626
user_prompt: |
27-
Echo this: The title is {{ result.title }} and the url is {{ result.url }}.
27+
Echo this: The title is {{ result.title }} and the url is {{ result.html_url }}.

0 commit comments

Comments
 (0)