Skip to content

docs(ai-sdk): document streamText/streamObject streaming#4916

Open
brianstrauch wants to merge 2 commits into
mainfrom
ai-sdk-streaming
Open

docs(ai-sdk): document streamText/streamObject streaming#4916
brianstrauch wants to merge 2 commits into
mainfrom
ai-sdk-streaming

Conversation

@brianstrauch

@brianstrauch brianstrauch commented Jul 17, 2026

Copy link
Copy Markdown
Member

Adds a "Stream model output from a Workflow" section to the AI SDK integration guide covering streamText and streamObject, and updates workflow-side imports to the v7 @temporalio/ai-sdk/workflow subpath.

Changes

  • New Streaming section: how the plugin runs the model call in an Activity and publishes deltas to a Workflow Stream topic, with the streamText agent, the subscribing consumer, and a streamObject variant.
  • Note on the in-workflow (reassembled) vs external-subscriber (live) behavior.
  • Switches the haiku/tools/MCP examples to import from @temporalio/ai-sdk/workflow.

⚠️ Held pending

  • The snippet blocks are populated by snipsync from the samples repo; they resolve once the sample PR merges (samples-typescript branch ai-sdk-streaming-sample).
  • Depends on the v7 @temporalio/ai-sdk npm release.

Related

Documents the streaming request from temporalio/sdk-typescript#2180 (support landed in temporalio/sdk-typescript#2039). Sample PR: temporalio/samples-typescript (branch ai-sdk-streaming-sample).

🤖 Generated with Claude Code

┆Attachments: EDU-6750 docs(ai-sdk): document streamText/streamObject streaming

…low imports

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@brianstrauch
brianstrauch requested a review from a team as a code owner July 17, 2026 20:03
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Jul 20, 2026 9:04pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

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