Skip to content

linter-miner: fix sub-agent model: large → model: inherited#43606

Merged
pelikhan merged 1 commit into
mainfrom
copilot/fix-agent-failure
Jul 5, 2026
Merged

linter-miner: fix sub-agent model: large → model: inherited#43606
pelikhan merged 1 commit into
mainfrom
copilot/fix-agent-failure

Conversation

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

The code-pattern-scanner and linter-writer sub-agents used model: large, an AWF api-proxy alias. The Copilot SDK validates the model name against GET /models at sub-agent startup — AWF aliases don't appear in that response, so the SDK immediately fails with No model available before making any LLM call. The discussion-miner sub-agent used model: kiwi (a real Copilot model ID) and succeeded; the two model: large sub-agents did not.

The failure was triggered by the recent model inventory update that prepended fable to the large alias chain — fable is not yet enabled in the org's Copilot policy, so even api-proxy fallback resolution produced nothing usable.

Changes

  • .github/workflows/linter-miner.md — change model: largemodel: inherited for code-pattern-scanner and linter-writer; inherited delegates model selection to the parent workflow, which resolves from available models successfully
  • .github/workflows/linter-miner.lock.yml — recompiled

…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 AI requested a review from pelikhan July 5, 2026 18:26
@pelikhan pelikhan marked this pull request as ready for review July 5, 2026 18:30
Copilot AI review requested due to automatic review settings July 5, 2026 18:30
@pelikhan pelikhan merged commit 65dd61f into main Jul 5, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/fix-agent-failure branch July 5, 2026 18:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-scanner and linter-writer sub-agents to use model: inherited instead of model: large.
  • Recompile the workflow to update the generated .lock.yml metadata.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants