Skip to content

feat(harness, app, cli): add auxiliary model routing - #21

Merged
ygyang11 merged 1 commit into
mainfrom
feat/sub-model-routing
Jul 21, 2026
Merged

ygyang11 merged 1 commit into
mainfrom
feat/sub-model-routing

Conversation

@ygyang11

Copy link
Copy Markdown
Owner

Summary

  • Add llm.sub_model configuration and a dual-LLM lifecycle with identity aliasing when no auxiliary model is configured.
  • Route compression and goal evaluation through the auxiliary LLM while preserving model-specific usage attribution and main-model context accounting.
  • Let sub-agents explicitly select main or sub, propagate both models through internal agents and teams, and document the selection policy in model-facing prompts.
  • Keep /model, /provider, and /effort sub consistent with runtime replacement, rollback, snapshots, compressors, and background tasks.
  • Remove memory.compression.summary_model and the obsolete model_override factory path.

Validation

  • pytest -q: 2755 passed, 3 skipped
  • ruff check src tests
  • mypy src
  • git diff --check
  • Real REPL smoke coverage for main/sub routing, compressor and goal-evaluator usage, background switching, provider/model commands, and model-selection scenarios.

@ygyang11
ygyang11 merged commit 92188c5 into main Jul 21, 2026
5 checks passed
@ygyang11
ygyang11 deleted the feat/sub-model-routing branch July 21, 2026 18:32
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