Skip to content

[aw] Daily Project Performance Summary Generator (Using MCP Scripts) has unknown model pricing #46491

Description

@github-actions

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-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:

---
model: my-custom-model
max-ai-credits: 500
models:
  my-custom-model:
    model: gpt-4.1
---

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-model
max-ai-credits: 500
models:
  providers:
    openai:            # github-copilot | anthropic | openai | google
      models:
        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.

Tip

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Daily Project Performance Summary Generator (Using MCP Scripts) · 129 AIC ·

  • expires on Jul 19, 2026, 9:29 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions