Skip to content

ai/core: add toTextStreamResponse to streamText result#1318

Merged
lgrammel merged 2 commits intomainfrom
lg/stream-response
Apr 10, 2024
Merged

ai/core: add toTextStreamResponse to streamText result#1318
lgrammel merged 2 commits intomainfrom
lg/stream-response

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented Apr 10, 2024

Use Case

Some users have custom frontend code that consumes simple text streams. They use the AI SDK to standardize different AI providers on the server side and just need a simple text stream that is sent to the client.

@lgrammel lgrammel merged commit 5cd29bd into main Apr 10, 2024
@lgrammel lgrammel deleted the lg/stream-response branch April 10, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants