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
Unknown Model for AI Credits Pricing: The agent failed because the requested model is not in the built-in AI credits pricing table and max-ai-credits is active. The AWF API proxy rejected the request with an HTTP 400 error.
This is a configuration issue, not a transient error — retrying will not help.
How to fix this
Choose one of the following options:
Option 1 — Map the model to a known model using the models field:
Use the models frontmatter field to provide an alias from your custom model name to a model that exists in the built-in pricing table:
Option 2 — Add pricing for your model in the frontmatter:
Use the models.providers field to supply per-token pricing for your custom model. Use the provider key that matches your engine (github-copilot, anthropic, openai, google):
---
model: my-custom-modelmax-ai-credits: 500models:
providers:
openai: # github-copilot | anthropic | openai | googlemodels:
my-custom-model:
cost:
input: "3.75e-06"# $3.75 per million input tokens (required)output: "1.5e-05"# $15.00 per million output tokens (required)cache_read: "3.75e-07"# $0.375 per million cached-read tokens (optional)cache_write: "4.5e-06"# $4.50 per million cache-write tokens (optional)reasoning: "1.5e-05"# $15.00 per million reasoning tokens (optional, defaults to output price)
---
Use the provider key matching your engine: github-copilot (Copilot), anthropic (Claude), openai (Codex), or google (Gemini). Only input and output are required; the rest default to zero (or output for reasoning).
Option 3 — Use a model already in the built-in pricing table:
Switch to a model name that the AWF pricing system recognizes directly (e.g. gpt-4.1, claude-sonnet-4-5, gemini-2.0-flash).
Agent Timed Out: The agent job exceeded the maximum allowed execution time (30 minutes).
To increase the timeout, add or update the timeout-minutes setting in your workflow's frontmatter:
---
timeout-minutes: 40
---
Action Required
Assign this issue to an agent to debug and fix the issue.
Optimize token consumption
This failure was triggered by a guardrail limit (max-turns / timeout). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:
Optimize the agentic workflow token consumption using https://raw.githubusercontent.com/github/gh-aw/main/optimize.md
The workflow run is at https://github.com/github/gh-aw/actions/runs/29660744841
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/29660744841
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: Daily Project Performance Summary Generator (Using MCP Scripts)
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/29660744841
Warning
Unknown Model for AI Credits Pricing: The agent failed because the requested model is not in the built-in AI credits pricing table and
max-ai-creditsis active. The AWF API proxy rejected the request with an HTTP 400 error.This is a configuration issue, not a transient error — retrying will not help.
How to fix this
Choose one of the following options:
Option 1 — Map the model to a known model using the
modelsfield:Use the
modelsfrontmatter field to provide an alias from your custom model name to a model that exists in the built-in pricing table:Option 2 — Add pricing for your model in the frontmatter:
Use the
models.providersfield to supply per-token pricing for your custom model. Use the provider key that matches your engine (github-copilot,anthropic,openai,google):Use the provider key matching your engine:
github-copilot(Copilot),anthropic(Claude),openai(Codex), orgoogle(Gemini). Onlyinputandoutputare required; the rest default to zero (oroutputforreasoning).Option 3 — Use a model already in the built-in pricing table:
Switch to a model name that the AWF pricing system recognizes directly (e.g.
gpt-4.1,claude-sonnet-4-5,gemini-2.0-flash).Agent Timed Out: The agent job exceeded the maximum allowed execution time (30 minutes).
To increase the timeout, add or update the
timeout-minutessetting in your workflow's frontmatter:Action Required
Assign this issue to an agent to debug and fix the issue.
Optimize token consumption
This failure was triggered by a guardrail limit (max-turns / timeout). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow daily-performance-summary failure in https://github.com/github/gh-aw/actions/runs/29660744841Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: