[claude] Implement Qwen3-8B / Qwen3-14B dual-model routing strategy (#1065) #1157

Closed
claude wants to merge 2 commits from claude/issue-1065 into main

2 Commits

Author SHA1 Message Date
Alexander Whitestone
0b284972cb fix: correct complexity routing to not fall back to default model
Some checks failed
Tests / lint (pull_request) Failing after 17s
Tests / test (pull_request) Has been skipped
`_get_model_for_complexity` was calling `get_model_with_capability`,
which silently falls back to the provider default when no model has the
requested capability tag.  This caused the method to return a generic
model instead of None when neither the fallback chain nor any explicit
capability tag matched, misleading callers into skipping the provider
default logic.

Replace the call with an explicit next() comprehension that returns None
when no model explicitly carries the 'routine' or 'complex' capability.

Refs #1065

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 15:30:23 -04:00
Alexander Whitestone
6c5f55230b WIP: Claude Code progress on #1065
Automated salvage commit — agent session ended (exit 124).
Work in progress, may need continuation.
2026-03-23 14:41:42 -04:00