Opus finding
deterministic mode still iterates remaining candidates after first failure instead of failing fast
- src/providers/orchestrator.ts:200-220
- src/providers/orchestrator.ts:440-460
selectProvider returns a single candidate for deterministic mode, so the deterministic-mode check in catch is technically reached only on that single candidate (and throws). That's fine, but the comment 'Deterministic mode: don't fallback (except hard 5xx)' is misleading — there is no hard-5xx exception; it always throws. The deceptive comment may lead callers to believe deterministic mode falls back on 5xx, which it does not.
Recommendation
Either implement the documented 5xx-fallback behavior or correct the comment to 'never falls back'.