linter-miner: fix sub-agent model: large → model: inherited#43606
Merged
Conversation
…l: large Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Fix linter-miner sub-agent failure: model: large → model: inherited
linter-miner: fix sub-agent model: large → model: inherited
Jul 5, 2026
Copilot created this pull request from a session on behalf of
pelikhan
July 5, 2026 18:26
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes linter-miner sub-agent startup failures caused by using the model: large alias (not returned by the Copilot /models inventory), by switching the affected sub-agents to model: inherited so model selection is delegated to the parent workflow and validated models are used.
Changes:
- Update
code-pattern-scannerandlinter-writersub-agents to usemodel: inheritedinstead ofmodel: large. - Recompile the workflow to update the generated
.lock.ymlmetadata.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/linter-miner.md | Switches two sub-agents from an invalid alias (large) to inherited to prevent Copilot SDK model-validation failures. |
| .github/workflows/linter-miner.lock.yml | Regenerated output reflecting the updated workflow body hash after compilation. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Low
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.
The
code-pattern-scannerandlinter-writersub-agents usedmodel: large, an AWF api-proxy alias. The Copilot SDK validates the model name againstGET /modelsat sub-agent startup — AWF aliases don't appear in that response, so the SDK immediately fails withNo model availablebefore making any LLM call. Thediscussion-minersub-agent usedmodel: kiwi(a real Copilot model ID) and succeeded; the twomodel: largesub-agents did not.The failure was triggered by the recent model inventory update that prepended
fableto thelargealias chain —fableis not yet enabled in the org's Copilot policy, so even api-proxy fallback resolution produced nothing usable.Changes
.github/workflows/linter-miner.md— changemodel: large→model: inheritedforcode-pattern-scannerandlinter-writer;inheriteddelegates model selection to the parent workflow, which resolves from available models successfully.github/workflows/linter-miner.lock.yml— recompiled