You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align workflow/agentworkflow with the .NET hosted-workflow fix from microsoft/agent-framework#7217 (upstream commit bfc73a5b14b40d40a90bf949d601324894d1bc34).
This change:
synthesizes stable message IDs for contentful hosted-agent streaming updates when the provider does not supply one
suppresses completed *agent.Response messages that were already surfaced as streamed updates when IncludeOutputsInResponse is enabled
preserves the hosted response completion event as a raw-only observability update in streaming mode
adds end-to-end tests covering duplicate suppression with and without provider-supplied message IDs
The duplicate suppression is intentionally scoped to completed hosted-agent *agent.Response outputs; existing IncludeOutputsInResponse behavior for non-hosted generic workflow message outputs is unchanged
Commit ported from upstream head e90b6de5a72d922ea3b803cf4f194e2f1bae354b inspected during selection
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch copilot/dotnet-port-fixes-hosted-response-dedup-20260724-bcc912f62939d12b.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Summary
Align
workflow/agentworkflowwith the .NET hosted-workflow fix from microsoft/agent-framework#7217 (upstream commitbfc73a5b14b40d40a90bf949d601324894d1bc34).This change:
*agent.Responsemessages that were already surfaced as streamed updates whenIncludeOutputsInResponseis enabledPorted .NET PRs
Breaking Changes
No.
Tests and Examples
go test ./workflow/agentworkflowgo test ./...Notes
dotnet/src/Microsoft.Agents.AI.Workflows/WorkflowSession.cs,dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/AIAgentHostExecutor.cs*agent.Responseoutputs; existingIncludeOutputsInResponsebehavior for non-hosted generic workflow message outputs is unchangede90b6de5a72d922ea3b803cf4f194e2f1bae354binspected during selectionNote
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
copilot/dotnet-port-fixes-hosted-response-dedup-20260724-bcc912f62939d12b.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (313 of 313 lines)