generateText does not automatically use the tool results and incorporate them into the final output. #5477
-
Hi Experts I created a simple agent that does tool calling .
Based on the behavior you’re seeing, it looks like the tool’s final result is actually being stored in the toolResults field (result: XXXXXXXXX) rather than in the top-level text field ( text: ""). is this expected ? Shouldn't generateText automatically use the tool results and incorporate them into the final output ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
What is your |
Beta Was this translation helpful? Give feedback.
-
setting |
Beta Was this translation helpful? Give feedback.
-
I don’t know who you are, or where you are, but you saved our lives. This project would have collapsed without your help. Eternal gratitude. |
Beta Was this translation helpful? Give feedback.
setting
maxSteps
to 2 solved the problem, I initially played with this but not sure why I missed it, thanks again for your reply!