Replies: 1 comment
-
|
I'm actually working on an example here right now that does emit updates from within a long running tool- vercel/examples#1287 Hoping to get that merged soon and then will try and contribute a guide to the workflow docs to show that pattern of using the writable stream to send updates (unless you have time to beat me to it 🥵) |
Beta Was this translation helpful? Give feedback.
0 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.
-
I'm building an agent using DurableAgent that has a long-running tool call (2-3 minutes, akin to "deep research"). I cloned the flight booking demo as a template.
I'd like to report status updates to the user as the tool progresses. Do you folks have any recommendations for how this could be done?
I'm currently returning an id when the tool is called then hooking up the UI to stream updates via SSE on that workflow id but I may be overcomplicating it.
Beta Was this translation helpful? Give feedback.
All reactions