Skip to content

fix(agent): honor provider context for aux compression#14119

Open
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/aux-compression-provider-context-13807
Open

fix(agent): honor provider context for aux compression#14119
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/aux-compression-provider-context-13807

Conversation

@LeonSGP43

Copy link
Copy Markdown
Contributor

Summary

  • reuse providers / compatible custom-provider model context hints for auxiliary.compression
  • keep explicit auxiliary.compression.context_length overrides taking precedence
  • add an init-level regression test covering provider-backed auxiliary context resolution

Testing

  • pytest -o addopts= tests/run_agent/test_compression_feasibility.py

Closes #13807

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/agent Core agent loop, run_agent.py, prompt builder area/config Config system, migrations, profiles labels Apr 22, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Competing fix with #13540 and #13813 — all address custom_providers context_length not propagated to aux compression check (#12977).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/agent Core agent loop, run_agent.py, prompt builder P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

auxiliary compression model does not read context_length from providers config

2 participants