Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: AI SDK ChatTransport #2634

Copy link
Copy link
@jakevollkommer

Description

@jakevollkommer
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.