[aw] Daily Code Metrics and Trend Tracking Agent failed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
The issue is a configuration error in a GitHub Actions workflow. The workflow file is at .github/workflows/daily-code-metrics.md. The error indicates an invalid model name for the Copilot engine. Check the workflow's frontmatter for the 'model' setting and compare it with GitHub Copilot's supported models documentation. The fix involves updating the model to a valid one, such as 'gpt-4', in the YAML frontmatter. Verify the fix by checking the workflow run after the change.
Written by the indexing model from the issue text.
Description
Workflow Failure
Workflow: Daily Code Metrics and Trend Tracking Agent
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/35903479429
[!WARNING]
Invalid or Unsupported Model: The agent failed because the configured model name is invalid, unknown, or unavailable for this engine/account.
This is a configuration issue, not a transient error — retrying will not help.
How to fix this
Specify a valid model for the selected engine in the workflow frontmatter:
---
engine: copilot
model: gpt-5-mini
---
To find valid models, check your engine/provider documentation (for Copilot see supported models).
If the error text is No model available. Check policy enablement under GitHub Settings > Copilot, the model is not disabled in the workflow but by Copilot policy. Enable the model under GitHub Settings > Copilot > Policies for the org/repo, or pick a model that is already enabled. This can also be triggered by a subagent (task tool) dispatch requesting a model that the policy does not allow, even when the main agent's model is enabled.
[!WARNING]
Engine Failure: Thecopilotengine terminated unexpectedly.
Last agent output:
400 The requested model is not supported.
Changes +0 -0
Duration 3s
Resume copilot --resume=38eaa640-8b60-4a62-9e91-9f2d11553695
Action Required
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/35903479429
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
- Start your agent
- Load the
agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.md - Type
debug the agentic workflow daily-code-metrics failure in https://github.com/github/gh-aw/actions/runs/35903479429
[!TIP]
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter:safe-outputs: report-failure-as-issue: false
Generated from Daily Code Metrics and Trend Tracking Agent · ◷
- expires on Sep 24, 2026, 6:40 AM UTC
- Dominant language
- Go
- Stars
- 5.2k
- Forks
- 547
- Avg merge
- 6h 28m
- Merged PRs (30d)
- 761
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/gh-aw
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
acceptance-tests phase-coding schema-coverage testing triaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100