fix(agent): honor custom provider context in compression feasibility check#8721
Closed
HamsteRider-m wants to merge 3 commits into
Closed
Conversation
added 2 commits
April 13, 2026 16:18
…check - resolve config context length for auxiliary compression models - scope top-level model.context_length to the active primary endpoint - add regression coverage for custom-provider overrides and non-primary summary models Fixes NousResearch#5089
cd637f0 to
a029cf7
Compare
19 tasks
Collaborator
This was referenced May 4, 2026
This was referenced May 14, 2026
Closed
Contributor
|
This appears implemented on current main by the compression-feasibility path now present in Automated hermes-sweeper review evidence:
I also checked the related #17460 discussion item; that PR is broader, but the specific compression-feasibility gap in this PR is already covered on main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
auxiliary.compression.context_lengthoverrides during compression feasibility checksmodel.context_lengthandcustom_providers[].models[model].context_lengthTest Plan
python -m pytest tests/run_agent/test_compression_feasibility.py -q -vvFixes #5089