Skip to content

[aw] Smoke Copilot has no AI credits pricing for model (${{ experiments.subagent_model }}) #48639

Closed as not planned

Description

@github-actions

Workflow Failure

Workflow: Smoke Copilot
Branch: copilot/compiler-fix-sink-visibility
Run: https://github.com/github/gh-aw/actions/runs/30365373087
Pull Request: #48589

Warning

Model has no AI credits pricing: The agent failed because model ${{ experiments.subagent_model }} is not in the built-in pricing table and no default fallback pricing is configured. The AWF API proxy rejected every inference request with HTTP 400.

This is a configuration issue — retrying will not help. The model must have pricing before the workflow can run.

How to fix this

Option 1 — Add pricing in the workflow frontmatter:

models:
  providers:
    github-copilot:
      models:
          '${{ experiments.subagent_model }}':
          cost:
            input: "0e0"      # $0.00 per million input tokens
            output: "0e0"     # $0.00 per million output tokens

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 2 — Map the model to a known model using the models field:

If ${{ experiments.subagent_model }} is an alias for a model already in the built-in pricing table, use the models frontmatter field to provide the mapping:

models:
  '${{ experiments.subagent_model }}':
    - claude-sonnet-4-5

Option 3 — Switch to a model already in the built-in pricing table:

Replace ${{ experiments.subagent_model }} in the workflow frontmatter with a model name that the AWF pricing system recognizes (e.g. claude-sonnet-4-5, gpt-4.1, gemini-2.0-flash).

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

  │ [§30365373087](https://github.com/github/gh-aw/actions/runs/30365373087)\nTimestamp:
  │ 2026-07-28T13:55:06Z\nPR author: @app/copilot-swe-agent\nAssignees: @pelikhan, @Copilot\n\n###
  │ Results\n1. ❌ `github` tool not present. `gh` fallback reviewed merged PRs #48619 and …
  └ 34 lines…
Exiting…
● Operation cancelled by user
Changes    +4 -0
Duration   7m 49s
Tokens     ↑ 1.1m (943.6k cached) • ↓ 14.3k (8.1k reasoning)
Resume     copilot --resume=0311810c-2f87-4938-ab21-fb15793f454e

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/30365373087
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 Smoke Copilot · 82.6 AIC · ◷

  • expires on Jul 29, 2026, 2:08 AM UTC

Activity

  1. github-actions commented on Jul 28, 2026

    @github-actions
    ContributorAuthor

    Agent job 30377662004 failed.

    Warning

    Model has no AI credits pricing: The agent failed because model ${{ experiments.subagent_model }} is not in the built-in pricing table and no default fallback pricing is configured. The AWF API proxy rejected every inference request with HTTP 400.

    This is a configuration issue — retrying will not help. The model must have pricing before the workflow can run.

    How to fix this

    Option 1 — Add pricing in the workflow frontmatter:

    models:
      providers:
        github-copilot:
          models:
            '${{ experiments.subagent_model }}':
              cost:
                # Placeholder values — replace with actual pricing for this model
                input: "0e0"      # $0.00 per million input tokens
                output: "0e0"     # $0.00 per million output tokens
                cache_read: "0e0"  # $0.00 per million cache-read tokens
                cache_write: "0e0" # $0.00 per million cache-write tokens

    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 2 — Map the model to a known model using the models field:

    If ${{ experiments.subagent_model }} is an alias for a model already in the built-in pricing table, use the models frontmatter field to provide the mapping:

    models:
      '${{ experiments.subagent_model }}':
        - claude-sonnet-4-5

    Option 3 — Switch to a model already in the built-in pricing table:

    Replace ${{ experiments.subagent_model }} in the workflow frontmatter with a model name that the AWF pricing system recognizes (e.g. claude-sonnet-4-5, gpt-4.1, gemini-2.0-flash).

    Generated from Smoke Copilot · 83.6 AIC · ◷

  2. github-actions commented on Jul 29, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-07-29T02:08:19.104Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions