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 Go compaction summary detection with the upstream .NET fix for _is_summary metadata by accepting both native bool values and raw JSON boolean tokens when grouping assistant messages. Added parity tests that keep missing, false, null, and string token values as assistant text while recognizing true in both native and raw-token forms.
Skipped broader recent upstream compaction/workflow changes because they were either already tracked in Go porting work or were larger than the narrow nightly PR target. This change is internal-only and does not modify exported Go symbols.
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/compaction-summary-marker-67b325fede384a29.
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 Go compaction summary detection with the upstream .NET fix for
_is_summarymetadata by accepting both nativeboolvalues and raw JSON boolean tokens when grouping assistant messages. Added parity tests that keep missing, false, null, and string token values as assistant text while recognizingtruein both native and raw-token forms.Upstream reference:
microsoft/agent-framework@e677ccc
Ported .NET PRs
CompactionMessageIndex.IsSummaryMessagefor deserialized JSON token valuesBreaking Changes
No.
Tests and Examples
go test ./agent/compactionTestMessageIndex_SummaryPropertyKeyIsRespectedNotes
Skipped broader recent upstream compaction/workflow changes because they were either already tracked in Go porting work or were larger than the narrow nightly PR target. This change is internal-only and does not modify exported Go symbols.
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/compaction-summary-marker-67b325fede384a29.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 (104 of 104 lines)