Replies: 1 comment 5 replies
-
this should be tools not parallel tools. also response and print tool both are {"text": str} and isomorphic so theres no way you'll be able to resolve the two. try class Tool |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, just wondering how to use parallel tools with streaming?
My current setup involves the agent responding to the user by calling a
ResponseTool
, within which I relay the streamed response to the user. This means that every step of the agent effectively needs to be streamed: if the chosen tool is notResponseTool
I simply wait for the full output to then call the function; otherwise I stream directly to the front-end.I understand perhaps this is not the correct way of terminating agent loops. Any advice is welcome!
Thanks!
MRE:
raises:
Beta Was this translation helpful? Give feedback.
All reactions