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
Aligned workflow-as-agent collection with the upstream .NET fix from microsoft/agent-framework#6212 so non-streaming Collect() responses now prefer designated terminal workflow outputs over intermediate hosted-agent updates when both are present. The Go change stays internal to workflow/agentworkflow: it tracks terminal output-derived updates separately during collection, preserves existing streaming behavior, and adds a regression test covering intermediate hosted-agent outputs followed by a designated terminal workflow output.
Updated TestNew_IncludeOutputsInResponse to assert streaming visibility while collected responses prefer terminal workflow outputs
Notes
This port intentionally does not broaden Go's existing IncludeOutputsInResponse contract for generic workflow outputs; it only realigns final collected response 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 dotnet-port-fixes-terminal-workflow-output-e1810b71550ce233.
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
Aligned workflow-as-agent collection with the upstream .NET fix from microsoft/agent-framework#6212 so non-streaming
Collect()responses now prefer designated terminal workflow outputs over intermediate hosted-agent updates when both are present. The Go change stays internal toworkflow/agentworkflow: it tracks terminal output-derived updates separately during collection, preserves existing streaming behavior, and adds a regression test covering intermediate hosted-agent outputs followed by a designated terminal workflow output.Upstream references:
Ported .NET PRs
Breaking Changes
No.
Tests and Examples
go test ./workflow/agentworkflowTestNew_CollectPrefersTerminalWorkflowOutputOverIntermediateHostedAgentUpdatesTestNew_IncludeOutputsInResponseto assert streaming visibility while collected responses prefer terminal workflow outputsNotes
IncludeOutputsInResponsecontract for generic workflow outputs; it only realigns final collected response selection.Note
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
dotnet-port-fixes-terminal-workflow-output-e1810b71550ce233.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 (329 of 329 lines)