Skip to content

feat(ai): delete LLMRouter, devops ai route, and GatewayRouter.resolve_model (#594) - #631

Merged
dan-petty merged 1 commit into
release/v0.2.23from
feat/594-part4-delete-llm-router-and-resolve-model
Sep 27, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.23from
feat/594-part4-delete-llm-router-and-resolve-model

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Completes Part 4 of #594 by removing vestigial routing code, uncalled model resolution paths, and the advisory routing CLI:

  • Deleted src/devops_cli/ai/router.py (LLMRouter) and its test suite tests/test_ai_router.py.
  • Removed devops ai route subcommand from src/devops_cli/commands/ai.py and updated generated CLI documentation.
  • Removed GatewayRouter.resolve_model from src/devops_cli/ai/gateway.py and cleaned up unused task taxonomy constants.
  • Relocated TaskComplexity enum to src/devops_cli/ai/capability.py and updated references in src/devops_cli/ai/harness/slots.py.
  • Updated docs/agent/tasks/task-594-stage-attributed-spend-ledger-and-one-genai-prices-price-sou.md to Done.

Verification

  • uv run devops ci: 100% passing across all quality gates (complexity <= 10, nesting depth <= 5, coverage >= 90%, mypy strict, formatting, linting, docs, security).
  • Pre-push hooks passed cleanly.

Fixes #594

@dan-petty dan-petty added this to the v0.2.23 milestone Sep 27, 2026
@dan-petty
dan-petty merged commit 76bcb24 into release/v0.2.23 Sep 27, 2026
8 checks passed
@dan-petty
dan-petty deleted the feat/594-part4-delete-llm-router-and-resolve-model branch September 27, 2026 03:30
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