Repository navigation
feat(secondary-model): graduate the subagent model pool out of experimental #3334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
12f22a7
e43225a
844e536
b86cd72
224fde3
ebbfdc1
cac5fcc
77c04fb
9015af0
a9597c9
3bd516a
04729c8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@moonshot-ai/kimi-code": minor | ||
| --- | ||
|
|
||
| The subagent model pool (`[secondary_model]`) now works without the removed `secondary-model` experiment — subagents bind the pool's `default_model`, and the `KIMI_CODE_EXPERIMENTAL_SECONDARY_MODEL` env var no longer has any effect. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -216,7 +216,6 @@ export const BUILTIN_SLASH_COMMANDS = [ | |
| description: 'Configure the secondary model for subagents', | ||
| priority: 90, | ||
| availability: 'always', | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎. |
||
| experimentalFlag: 'secondary-model', | ||
| }, | ||
| { | ||
| name: 'effort', | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
KIMI_CODE_LEGACY_FLAGselects the supported v1 engine, making this command unconditional exposes it to every user, butperformSecondaryModelSavewrites onlysecondaryModel.defaultModel; v1 explicitly round-trips that v2 pool key without consuming it and binds subagents only fromsecondaryModel.model. The command therefore reports success while newly spawned subagents keep inheriting the caller model; either hide it withrequiresEngineV2or persist the legacy field on that engine.Useful? React with 👍 / 👎.