Skip to content

refactor(adk): refactor tool reduction middleware#762

Merged
shentongmartin merged 2 commits intoalpha/08from
feat/context_reduction_middleware
Feb 5, 2026
Merged

refactor(adk): refactor tool reduction middleware#762
shentongmartin merged 2 commits intoalpha/08from
feat/context_reduction_middleware

Conversation

@N3kox
Copy link
Contributor

@N3kox N3kox commented Feb 5, 2026

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@N3kox N3kox force-pushed the feat/context_reduction_middleware branch from f4db5de to c5e5c08 Compare February 5, 2026 04:14
@N3kox N3kox force-pushed the feat/context_reduction_middleware branch from 3ade01f to 1a259f0 Compare February 5, 2026 08:42
@N3kox N3kox force-pushed the feat/context_reduction_middleware branch 2 times, most recently from 1ee4e27 to 0aadb60 Compare February 5, 2026 08:50
@N3kox N3kox force-pushed the feat/context_reduction_middleware branch from 0aadb60 to de5975e Compare February 5, 2026 08:51
@N3kox N3kox marked this pull request as ready for review February 5, 2026 08:52
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 70.17544% with 34 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (alpha/08@788da21). Learn more about missing BASE report.

Files with missing lines Patch % Lines
adk/middlewares/reduction/reduction.go 72.64% 14 Missing and 15 partials ⚠️
adk/middlewares/reduction/consts.go 37.50% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             alpha/08     #762   +/-   ##
===========================================
  Coverage            ?   79.81%           
===========================================
  Files               ?      146           
  Lines               ?    15790           
  Branches            ?        0           
===========================================
  Hits                ?    12602           
  Misses              ?     2209           
  Partials            ?      979           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shentongmartin shentongmartin merged commit 5b434eb into alpha/08 Feb 5, 2026
16 checks passed
@shentongmartin shentongmartin deleted the feat/context_reduction_middleware branch February 5, 2026 08:55
hi-pender pushed a commit that referenced this pull request Feb 14, 2026
* refactor(adk): refactor tool reduction middleware

* refactor(adk): flatten reducton middleware configs, remove redundant parts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants