Future support for GraphQL streaming in useChat?

I’m exploring a chat project that would be well suited to a useChat frontend. The out-of-the-box features and long-term support as an open source project are very appealing. Unfortunately, the project is locked into a GraphQL + websocket backend that would require some middleware to covert to a REST API.

Are there any plans to support GraphQL streaming in the future? (sorry for the duplicate topic, I accidentally deleted the first one)

Thanks for your question, Josh! :smiley:

I don’t know the plans from the AI SDK team to support this, but I’ve just asked internally. Will loop back!

Hi @joshkadis

useChat is flexible about how it communicates with an API using the transport option. Did you have a chance to look into it yet? AI SDK UI: Transport