You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added model: copilot/mai-code-1-flash-picker to the engine: block.
Previously the workflow used the Copilot engine's default model with no explicit model override, which resolves to a more expensive default. copilot/mai-code-1-flash-picker is already used across ~30 other lower-cost/high-frequency workflows in this repo (e.g. artifacts-summary.md, issue-arborist.md, metrics-collector.md) as the standard cost-optimized model choice.
This workflow runs on a schedule: every 6h cron, so switching to the cheaper flash model directly reduces recurring AI-credit cost for this automation.
Expected Improvements
Recurring per-run AI credit cost for pr-triage-agent should drop, since mai-code-1-flash-picker is a lower-cost model tier than the previous default.
Validation
Compiled successfully using the local gh-aw compile binary:
✅ pr-triage-agent
Note: .lock.yml is not included in this PR; it will be regenerated automatically after merge.
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 32727642327 -n agent -D /tmp/agent-32727642327
# Create a new branch
git checkout -b gh-aw/pre-created/32727642327-1 main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-32727642327/aw-q-pr-triage-agent-flash-model.patch
# Push the branch and create the pull request
git push origin gh-aw/pre-created/32727642327-1
gh pr create --title '[q] Use mai-code-1-flash-picker model in pr-triage-agent to reduce cost' --base main --head gh-aw/pre-created/32727642327-1 --repo github/gh-aw
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
proxy.golang.org
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Q Workflow Optimization Report
Request
Comment on issue #55389 (PR Triage Agent report) requested: "use mai flash model to reduce cost".
Changes Made
pr-triage-agent (
.github/workflows/pr-triage-agent.md)model: copilot/mai-code-1-flash-pickerto theengine:block.modeloverride, which resolves to a more expensive default.copilot/mai-code-1-flash-pickeris already used across ~30 other lower-cost/high-frequency workflows in this repo (e.g.artifacts-summary.md,issue-arborist.md,metrics-collector.md) as the standard cost-optimized model choice.schedule: every 6hcron, so switching to the cheaper flash model directly reduces recurring AI-credit cost for this automation.Expected Improvements
pr-triage-agentshould drop, sincemai-code-1-flash-pickeris a lower-cost model tier than the previous default.Validation
Compiled successfully using the local
gh-aw compilebinary:Note:
.lock.ymlis not included in this PR; it will be regenerated automatically after merge.Warning
Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.
Protected files
The push was rejected because GitHub Actions does not have
workflowspermission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.Create the pull request manually
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
proxy.golang.orgTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.