Files
copilotkit__copilotkit/showcase/integrations/ms-agent-dotnet/agent/SharedStateReadWriteAgent.cs
Alem Tuzlak bcf43311d6 fix(showcase/ms-agent-dotnet): surface shared-state-read-write chat replies
Deterministic pill replies (greet / remember / weekend) were emitted as
AgentRunResponseUpdate with Contents only and no Role. The AG-UI .NET host
maps assistant text into TEXT_MESSAGE_* only when Role == Assistant, so the
client showed empty chat while the server still ran.

Set Role = ChatRole.Assistant on those updates, harden LatestUserText via
message.Text, and broaden pill matching for the staging suggestion copy.
2026-07-29 15:50:56 +02:00

28 KiB