Commit d396711
authored
feat(routing): add KiloClaw as a named routing mode (#1669)
## Summary
- Added `kiloclaw` as an explicit routing mode in both
`FRONTIER_MODE_TO_MODEL` and `BALANCED_MODE_TO_MODEL` in
`describeRouting`
- For Frontier: routes to Claude Opus with reasoning enabled and high
verbosity (same config as `plan`)
- For Balanced: routes to Kimi with reasoning enabled (same config as
`plan`)
- Updated `applyResolvedAutoModel` to pass `'kiloclaw'` directly as the
mode instead of mapping it to `'plan'`, so KiloClaw now appears in the
routing description
## Verification
- Reviewed the diff manually; the change is additive and consistent with
existing mode configurations
- Typecheck could not be run due to missing `tsgo` binary in the
environment
## Visual Changes
N/A
## Reviewer Notes
Previously, `featureHeader === 'kiloclaw'` was mapped to `'plan'` before
lookup, so KiloClaw was silently sharing `plan`'s routing without
appearing in `describeRouting`. Now it has its own named entry, making
the routing description accurate and allowing independent tuning in
future.File tree
2 files changed
+10
-4
lines changed- src
- lib
- tests
2 files changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
234 | | - | |
| 240 | + | |
235 | 241 | | |
236 | 242 | | |
237 | 243 | | |
| |||
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
260 | | - | |
| 266 | + | |
261 | 267 | | |
262 | 268 | | |
263 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments