Skip to content

fix: replace hardcoded claude-haiku-4.5 with portable small alias in grumpy-coder sub-agent - #49796

Merged
pelikhan merged 2 commits into
mainfrom
copilot/copilotfix-authentication-failed-classification
Aug 2, 2026
Merged

fix: replace hardcoded claude-haiku-4.5 with portable small alias in grumpy-coder sub-agent#49796
pelikhan merged 2 commits into
mainfrom
copilot/copilotfix-authentication-failed-classification

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

The pr-code-quality-reviewer workflow was failing with "Invalid or Unsupported Model" / "No model available" because the grumpy-coder sub-agent hardcoded model: claude-haiku-4.5 — a model not available on all Copilot accounts.

Changes

  • pr-code-quality-reviewer.md — swap model: claude-haiku-4.5model: small in the grumpy-coder sub-agent frontmatter
  • pr-code-quality-reviewer.lock.yml — recompiled
 ## agent: `grumpy-coder`
 ---
 description: Hyper-critical senior reviewer that aggressively finds merge-blocking issues in changed lines
-model: claude-haiku-4.5
+model: small
 ---

The small alias 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.

Copilot AI linked an issue Aug 2, 2026 that may be closed by this pull request
…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 claude-haiku-4.5 with portable small alias in grumpy-coder sub-agent Aug 2, 2026
Copilot AI requested a review from pelikhan August 2, 2026 14:28
@pelikhan
pelikhan marked this pull request as ready for review August 2, 2026 14:28
Copilot AI review requested due to automatic review settings August 2, 2026 14:28
@pelikhan
pelikhan merged commit af3b720 into main Aug 2, 2026
@pelikhan
pelikhan deleted the copilot/copilotfix-authentication-failed-classification branch August 2, 2026 14:28

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

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
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.3

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.

[aw] PR Code Quality Reviewer failed

3 participants