-
Notifications
You must be signed in to change notification settings - Fork 96
feat(Designer-v2): Add chat history summarization #8728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | No change needed |
| Commit Type | ✅ | No change needed |
| Risk Level | ✅ | Low risk is appropriate |
| What & Why | ✅ | Optionally expand one sentence on behavior |
| Impact of Change | ✅ | Clarify manifest consumer guidance if desired |
| Test Plan | Add schema/unit tests or expand manual test notes | |
| Contributors | List contributors or add a note | |
| Screenshots/Videos | ✅ | Ensure the attachment renders in PR |
Final notes:
- The code diff adds a new agent history reduction option
summarizationReductionand adds two manifest integer fields (targetMessageCount, thresholdMessageCount) in both the consumption and standard manifests. These are schema/manifest changes only — low risk. - Please consider adding a short unit test or validation test checking the manifest includes the new enum value and fields, or expand the Test Plan with exact manual steps you followed (how you validated visibility, how the UI behaves when the option is selected). This will reduce future regressions.
- Add contributors if anyone else helped, and verify the screenshot/attachment renders for reviewers.
- There is a
needs-pr-updatelabel currently attached; if you address any of the above suggestions (tests/expanded Test Plan or contributors) remove the label once updated.
Please update the PR body with the small clarifications above if possible, then re-submit. Thank you for the clear PR — nice work keeping the description concise and including the manifest changes in both places.
Last updated: Fri, 23 Jan 2026 20:09:24 GMT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds chat history summarization support to the Agent Loop feature in both Standard and Consumption Logic Apps. The changes enable users to configure a new "Summarization reduction" option for managing agent chat history, with associated parameters for controlling when and how summarization occurs.
Changes:
- Added new "Summarization reduction" option to the agent history reduction type dropdown
- Added two conditional integer fields (
targetMessageCountandthresholdMessageCount) that appear when summarization reduction is selected - Applied changes consistently across both Standard and Consumption manifest configurations
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| libs/logic-apps-shared/src/designer-client-services/lib/standard/manifest/agentloop.ts | Added summarization reduction dropdown option and two conditional integer fields (targetMessageCount, thresholdMessageCount) with visibility dependencies |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/agentloop.ts | Added identical summarization reduction configuration as in standard manifest for consistency |
|
📊 Coverage check completed. See workflow run for details. |
Commit Type
Risk Level
What & Why
Adding chat history summarization to the agent loop
Impact of Change
Test Plan
Contributors
Screenshots/Videos
Recording.2026-01-22.103411.mp4