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

Support streaming tools in streamText #2101

Closed
sullyo opened this issue Jun 25, 2024 · 3 comments
Closed

Support streaming tools in streamText #2101

sullyo opened this issue Jun 25, 2024 · 3 comments
Assignees
Labels
ai/core enhancement New feature or request

Comments

@sullyo
Copy link

sullyo commented Jun 25, 2024

Feature Description

Similar to streamObject, support streaming via streamText and streamUI. This lets us create better interfaces for various tools to show their progress.

Use Case

Some tool arguments take a while to stream. For example running a code execution tool usually takes much longer for the code arguments to generate, sometimes upwards of 5-10s. Right now there is way to currently show this progress and the user is left with a loading indicator.

@lgrammel lgrammel changed the title Support streaming tools Support streaming tools in streamText, streamUI Jun 26, 2024
@lgrammel lgrammel added enhancement New feature or request ai/core labels Jun 26, 2024
@sullyo
Copy link
Author

sullyo commented Jul 11, 2024

bumping this - would atleast be nice to know when a tool name is invoked, even as the model generates the args

@lgrammel
Copy link
Collaborator

lgrammel commented Jul 16, 2024

streamText / useChat support for tool call streaming: #2295

@lgrammel lgrammel self-assigned this Jul 16, 2024
@lgrammel
Copy link
Collaborator

lgrammel commented Sep 6, 2024

streamUI : #2915

@lgrammel lgrammel closed this as completed Sep 6, 2024
@lgrammel lgrammel changed the title Support streaming tools in streamText, streamUI Support streaming tools in streamText Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants