-
With the following setup, how can I surface subtask references? I can see the footnotes in the subtask, but not in the last toolkit task. I've include the output logs, the first text value which is from the subtask has the footnote, however the toolkit task which returns, no longer has the footnote.
With the example output from the logs:
And the source code that I threw together for google related stuff:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Looks like the LLM chooses not to include footnotes in the final response. A quick way to fix it would be to add a rule to the agent with something like this:
You might need to experiment with the wording of the rule, since I'm not sure how it would respond when there are no footnotes returned by subtasks. Let me know if that helps! |
Beta Was this translation helpful? Give feedback.
Looks like the LLM chooses not to include footnotes in the final response. A quick way to fix it would be to add a rule to the agent with something like this:
You might need to experiment with the wording of the rule, since I'm not sure how it would respond when there are no footnotes returned by subtasks. Let me know if that helps!