Set Copilot BYOK fallback model to Sonnet 4.5 and regenerate lockfiles#34215
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Set Copilot BYOK default model to Sonnet 4.5 and recompile
Set Copilot BYOK fallback model to Sonnet 4.5 and regenerate lockfiles
May 23, 2026
Copilot created this pull request from a session on behalf of
pelikhan
May 23, 2026 13:30
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Copilot BYOK implicit model fallback to use claude-sonnet-4.5 instead of the generic default sentinel, and regenerates compiled workflow lockfiles so runtime model fallbacks match that new default.
Changes:
- Updated
constants.CopilotBYOKDefaultModeltoclaude-sonnet-4.5and refreshed its inline documentation. - Updated constants spec assertions / README docs to match the new fallback value.
- Regenerated
.github/workflows/*.lock.ymlfiles to emitclaude-sonnet-4.5as the fallback forGH_AW_INFO_MODELandCOPILOT_MODELwhenGH_AW_MODEL_*_COPILOTis unset.
Show a summary per file
| File | Description |
|---|---|
| pkg/constants/spec_test.go | Updates spec assertion for CopilotBYOKDefaultModel to claude-sonnet-4.5. |
| pkg/constants/README.md | Updates documented Copilot BYOK default model fallback value. |
| pkg/constants/engine_constants.go | Changes CopilotBYOKDefaultModel constant to claude-sonnet-4.5 and updates comment. |
| .github/workflows/workflow-skill-extractor.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/workflow-normalizer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/workflow-health-manager.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/workflow-generator.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/weekly-safe-outputs-spec-review.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/weekly-issue-summary.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/weekly-editors-health-check.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/weekly-blog-post-writer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/visual-regression-checker.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/video-analyzer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/update-astro.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/uk-ai-operational-resilience.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/ubuntu-image-analyzer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/tidy.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/test-workflow.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/test-quality-sentinel.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/test-project-url-default.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/test-dispatcher.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/terminal-stylist.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/technical-doc-writer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/super-linter.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/sub-issue-closer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/stale-repo-identifier.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/stale-pr-cleanup.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/spec-librarian.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/spec-extractor.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-workflow-call.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-workflow-call-with-inputs.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-update-cross-repo-pr.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-test-tools.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-temporary-id.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-service-ports.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-project.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-otel-backends.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-multi-pr.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-create-cross-repo-pr.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-copilot.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-copilot-arm.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/smoke-ci.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/slide-deck-maintainer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/security-review.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/security-compliance.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/research.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/repository-quality-improver.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/repo-tree-map.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/repo-audit-analyzer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/release.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/refiner.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/refactoring-cadence.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/q.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/python-data-charts.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/pr-triage-agent.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/pr-nitpick-reviewer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/pr-description-caveman.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/pr-code-quality-reviewer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/plan.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/pdf-summary.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/otlp-data-quality-validator.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/org-health-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/notion-issue-summary.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/metrics-collector.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/mergefest.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/mcp-inspector.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/linter-miner.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/layout-spec-maintainer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/jsweep.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/issue-triage-agent.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/hippo-embed.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/gpclean.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/glossary-maintainer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/functional-pragmatist.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/firewall.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/firewall-escape.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/example-permissions-warning.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/draft-pr-cleanup.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/docs-noob-tester.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/discussion-task-miner.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dictation-prompt.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dev-hawk.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/deployment-incident-monitor.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dependabot-repair.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dependabot-go-checker.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dependabot-burner.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/delight.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dead-code-remover.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/dataflow-pr-discussion-dataset.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-workflow-updater.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-testify-uber-super-expert.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-team-status.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-syntax-error-quality.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-spdd-spec-planner.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-skill-optimizer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-sentrux-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-semgrep-scan.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-security-observability.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-secrets-analysis.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-safe-output-integrator.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-repo-chronicle.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-regulatory.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-performance-summary.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-news.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-model-inventory.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-mcp-concurrency-analysis.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-malicious-code-scan.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-issues-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-hippo-learn.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-geo-optimizer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-firewall-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-file-diet.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-experiment-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-compiler-threat-spec-optimizer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-compiler-quality.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-cli-tools-tester.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-cli-performance.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-assign-issue-to-user.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-architecture-diagram.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/daily-agent-of-the-day-blog-writer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/craft.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/copilot-pr-prompt-analysis.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/copilot-pr-nlp-analysis.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/copilot-pr-merged-report.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/copilot-opt.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/copilot-cli-deep-research.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/contribution-check.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/constraint-solving-potd.lock.yml | Regenerated lockfile; pins actions/github-script to SHA and updates Copilot model fallback. |
| .github/workflows/code-simplifier.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/code-scanning-fixer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/cli-consistency-checker.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/ci-coach.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/chaos-pr-bundle-fuzzer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/breaking-change-checker.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/brave.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/bot-detection.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/aw-portfolio-yield.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/artifacts-summary.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/architecture-guardian.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/archie.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/agentic-token-optimizer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/agentic-token-audit.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/agent-persona-explorer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/agent-performance-analyzer.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/ace-editor.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
| .github/workflows/ab-testing-advisor.lock.yml | Regenerated lockfile to use claude-sonnet-4.5 as Copilot model fallback. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 146/146 changed files
- Comments generated: 1
Comment on lines
+268
to
+270
| // Use Claude Sonnet 4.5 as the explicit default model for Copilot BYOK mode. | ||
| // This matches the current Copilot default model. | ||
| CopilotBYOKDefaultModel = "claude-sonnet-4.5" |
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.
This updates Copilot BYOK’s implicit fallback from the generic
defaultsentinel toclaude-sonnet-4.5(the current Copilot default). Generated workflow lockfiles are recompiled so runtime model fallbacks are consistent with the new default.Default model behavior
CopilotBYOKDefaultModeltoclaude-sonnet-4.5in constants.GH_AW_MODEL_*_COPILOTis unset.Spec/docs alignment
Compiled workflow output
.lock.ymlfiles under.github/workflows/so emitted env defaults now resolve toclaude-sonnet-4.5for both agent and detection paths.