Skip to content

Add README.md for Agent_Step18_CompactionPipeline#4512

Draft
Copilot wants to merge 2 commits intocrickman/feature-compactionfrom
copilot/add-compaction-pipeline-readme
Draft

Add README.md for Agent_Step18_CompactionPipeline#4512
Copilot wants to merge 2 commits intocrickman/feature-compactionfrom
copilot/add-compaction-pipeline-readme

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Adds developer documentation for the Agent_Step18_CompactionPipeline sample, which was missing a README.

Changes

  • New file: dotnet/samples/02-agents/Agents/Agent_Step18_CompactionPipeline/README.md
    • Explains the four-strategy compaction ladder (ToolResultCompactionStrategySummarizationCompactionStrategySlidingWindowCompactionStrategyTruncationCompactionStrategy) with a reference table covering aggressiveness, trigger condition, and behavior for each
    • Shows the ChatHistoryCompactionPipeline.Create() factory shortcut for Aggressive, Balanced, and Gentle approaches
    • Shows how to wire the pipeline as ChatReducer on InMemoryChatHistoryProvider
    • Covers prerequisites, environment variables, run instructions, and expected output

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: crickman <66376200+crickman@users.noreply.github.com>
Copilot AI changed the title [WIP] Add README for compaction pipeline usage Add README.md for Agent_Step18_CompactionPipeline Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants