-
-
Notifications
You must be signed in to change notification settings - Fork 870
Open
Description
Is your feature request related to a problem? Please describe.
AI SDK v5 exposes a custom transport for use with the useChat hook
I’m wondering if it would be possible to use trigger.dev in the transport layer
The default transport of course uses HTTP and there is an example of using WebSockets floating around
Describe the solution you'd like to see
it seems like it would be possible to trigger the task and then subscribe to the metadata stream and leverage the realtime hooks
Describe alternate solutions
Not sure how else we could use the useChat hook with trigger
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels