Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai/core: add toTextStreamResponse to streamText result #1318

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

lgrammel
Copy link
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
6 checks passed
@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.

None yet

2 participants