Skip to content

Conversation

@tsuzaki430
Copy link
Collaborator

@tsuzaki430 tsuzaki430 commented Nov 20, 2025

Background

#9064
The image_generation tool's streaming mode is now available on Microsoft Azure platform ,
https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/dall-e?view=foundry-classic&tabs=gpt-image-1#streaming

Summary

After image_generation became enabled with streaming on the Azure side, streamText worked as expected without requiring any changes to doStream in the AI SDK.
Therefore, I concluded that we can close this issue by adding examples and tests for Next.js, and updating the documentation accordingly.

  • fix documents.
  • rework azure CICD test for image_generation.
  • fix example in examples/ai-core.
  • add example in examples/next-openai.

Manual Verification

  • add cicd test for package @ai-sdk/azure build.
  • streamText with image generation
    examples/ai-core/src/stream-text/azure-image-generation-tool.ts
  • next.js useChat client test.
    examples/next-openai/app/test-azure-image-generation/page.tsx
    http://localhost:3000/test-azure-image-generation
image

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Future Work

Related Issues

#9064

@vercel-ai-sdk vercel-ai-sdk bot added ai/provider documentation Improvements or additions to documentation provider/azure labels Nov 20, 2025
@tsuzaki430 tsuzaki430 marked this pull request as ready for review November 20, 2025 02:17
@tsuzaki430
Copy link
Collaborator Author

I have reviewed this pull request (self-review)

@gr2m
Copy link
Collaborator

gr2m commented Nov 20, 2025

@tsuzaki430 can you please look into the conflicts?

@tsuzaki430
Copy link
Collaborator Author

@gr2m

Thank you for review and about a changeset.
I just solved the conflicts and fix Page component name😊

@tsuzaki430 tsuzaki430 marked this pull request as draft November 25, 2025 00:23
@tsuzaki430 tsuzaki430 marked this pull request as ready for review November 25, 2025 11:57
@tsuzaki430
Copy link
Collaborator Author

tsuzaki430 commented Nov 25, 2025

Hello,

I solved some conflicts in this PR and ReOpen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider documentation Improvements or additions to documentation provider/azure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants