Skip to content

feat(chat): add thread.stream() method for passing streaming options#346

Open
dancer wants to merge 2 commits intomainfrom
josh/thread-stream-options
Open

feat(chat): add thread.stream() method for passing streaming options#346
dancer wants to merge 2 commits intomainfrom
josh/thread-stream-options

Conversation

@dancer
Copy link
Copy Markdown
Contributor

@dancer dancer commented Apr 7, 2026

summary

thread.stream() was documented but didn't exist - users had to bypass the Thread abstraction and call thread.adapter.stream() directly to pass options like taskDisplayMode or stopBlocks

adds thread.stream(stream, options) which accepts taskDisplayMode, stopBlocks, and updateIntervalMs while auto-populating internal fields (recipientUserId, recipientTeamId) from message context

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview, Comment, Open in v0 Apr 7, 2026 4:53pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment, Open in v0 Apr 7, 2026 4:53pm

@cramforce
Copy link
Copy Markdown
Collaborator

Wow, really?

Copy link
Copy Markdown
Collaborator

@cramforce cramforce left a comment

Choose a reason for hiding this comment

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

Ah, now I get it. Not sure this should merge. We need to think about how to make this work across adapters.

We have the PostableObject abstraction for doing custom things

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