Skip to content

fix: support runtime router override and improve context compression - #122

Merged
knight22-21 merged 2 commits into
mainfrom
fix/context-compression-and-router-override
Oct 25, 2026
Merged

knight22-21 merged 2 commits into
mainfrom
fix/context-compression-and-router-override

Conversation

@knight22-21

Copy link
Copy Markdown
Owner

Summary

  • Support live model overrides in \MultiModelRouter\ so interactive model switches (/model, /fast) take immediate precedence during agent loops.
  • Improve session history token estimation and context fitting with \ it_request_context\ to retain system prompts and newest messages within model context budgets.
  • Add /history\ REPL command and session resume prompt when running interactively.
  • Replace \�iosqlite\ with standard \sqlite3\ in \core/storage.py\ and ensure thread-safe CodePrism background loop initialization.
  • Lower default compression threshold from 0.6 to 0.45.

Tests


  • uff check devagent/ tests/\ passes.
  • Unit tests in \ est_budget.py, \ est_phase5.py, and \ est_phase8.py\ pass.

@knight22-21
knight22-21 merged commit 7c800fb into main Oct 25, 2026
5 checks passed
@knight22-21
knight22-21 deleted the fix/context-compression-and-router-override branch October 25, 2026 05:31
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.

1 participant