Description
When using the AG-UI hosting package, and an OpenAI model like GPT 5.4 mini, the AG-UI event stream contains as many as TEXT_MESSAGE_START/_CONTENT/_END as completions, causing an AG-UI client to display completions one at a time, each on its own line.
Code Sample
I believe this can be reproduced with https://github.com/microsoft/agent-framework/tree/main/dotnet/samples/05-end-to-end/AGUIWebChat
Error Messages / Stack Traces
Package Versions
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore 1.6.1-preview.260514.1
.NET Version
.NET 10
Additional Context
No response
Description
When using the AG-UI hosting package, and an OpenAI model like GPT 5.4 mini, the AG-UI event stream contains as many as TEXT_MESSAGE_START/_CONTENT/_END as completions, causing an AG-UI client to display completions one at a time, each on its own line.
Code Sample
I believe this can be reproduced with https://github.com/microsoft/agent-framework/tree/main/dotnet/samples/05-end-to-end/AGUIWebChatError Messages / Stack Traces
Package Versions
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore 1.6.1-preview.260514.1
.NET Version
.NET 10
Additional Context
No response