fix: replace hardcoded claude-haiku-4.5 with portable small alias in grumpy-coder sub-agent - #49796
Merged
pelikhan merged 2 commits intoAug 2, 2026
Conversation
…coder sub-agent Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix PR Code Quality Reviewer workflow failure due to token access
fix: replace hardcoded Aug 2, 2026
claude-haiku-4.5 with portable small alias in grumpy-coder sub-agent
pelikhan
marked this pull request as ready for review
August 2, 2026 14:28
pelikhan
deleted the
copilot/copilotfix-authentication-failed-classification
branch
August 2, 2026 14:28
Contributor
There was a problem hiding this comment.
Pull request overview
Attempts to make the reviewer sub-agent portable across Copilot accounts.
Changes:
- Replaces the pinned Haiku model with
small. - Refreshes the compiled workflow metadata hash.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/pr-code-quality-reviewer.md |
Changes the sub-agent model configuration. |
.github/workflows/pr-code-quality-reviewer.lock.yml |
Updates generated workflow metadata. |
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: 1
- Review effort level: Balanced
| --- | ||
| description: Hyper-critical senior reviewer that aggressively finds merge-blocking issues in changed lines | ||
| model: claude-haiku-4.5 | ||
| model: small |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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
pr-code-quality-reviewerworkflow was failing with "Invalid or Unsupported Model" / "No model available" because thegrumpy-codersub-agent hardcodedmodel: claude-haiku-4.5— a model not available on all Copilot accounts.Changes
pr-code-quality-reviewer.md— swapmodel: claude-haiku-4.5→model: smallin thegrumpy-codersub-agent frontmatterpr-code-quality-reviewer.lock.yml— recompiledThe
smallalias resolves at runtime to the best available small model per provider (haiku / gpt-5-mini / gemini-flash), making the workflow portable across accounts regardless of which specific models are policy-enabled.