Repository navigation
docs(copilotcli): document list-valued subagent model and tighten tests - #3606
Merged
Merged
Conversation
- Cite the Copilot CLI v1.0.83 changelog as the source for a preference-ordered list in `model`, and note that the CLI reference still documents a string, so a string is the safe form for older CLIs. - Document the list form and its relation to `models` in docs/reference/file-formats.md and regenerate docs content. - Scope the home-directory test setup to the one test that needs it, and add generate-direction and list `model` + `models` test cases. Closes #3603 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-ups from #3602 on the
copilotclisubagent's list-valuedmodel. No runtime behaviour change.model, tried in order until one is available to you". The CLI command reference and the custom agents configuration reference still typemodelas a string. The code comment now cites the CLI changelog (keeping the VS Code reference as secondary) and notes that a string is the safe form for CLIs older than v1.0.83.docs/reference/file-formats.mdnow sayscopilotcli.modelaccepts a string or a preference-ordered list (CLI v1.0.83+), that Rulesync keeps the list inmodelrather than moving it tomodels, and thatmodelsoverridesmodelwhen both are set. Docs content regenerated.model: [a, b]is emitted as a YAML list,modelsuntouched) and a case with bothmodelandmodelsas lists.Verification
pnpm cicheck: 598 files / 15,790 tests passed; format, lint, types, docs-content, cspell, secretlint passed.Closes #3603
🤖 Generated with Claude Code
https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth