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

feat: add data stream support to tools and use-chat #4789

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BrianHung
Copy link
Contributor

);
},
};

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at this stage we do not have a data stream so this goes against the architecture of streamText. agree with the general idea though - but the integration will not be that simple (thought about it quite a bit)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah; yeah I was looking at the ai chatbot over the weekend and how it handles custom data.

Realized being able to write to a custom data stream would be pretty useful for execute and onToolCall, especially for longer tool calls with an api that supports streams.

Tried to find a good DX but yeah couldn’t exactly find best way to integrate data stream into stream text.

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