[aw] Smoke Copilot BYOK AOAI (Entra) has no AI credits pricing for model (auto)

Smoke Copilot BYOK AOAI (Entra) · issue · closed

Filter2mode:review mode:live
All recorded Export JSON
github-actions[bot]

published Aug 12, 2026, 12:36 PM · updated Aug 12, 2026, 2:39 PM

Workflow Failure

Workflow: Smoke Copilot BYOK AOAI (Entra)
Branch: main
Run: https://github.com/github/gh-aw-firewall/actions/runs/31596983780

Warning

Model has no AI credits pricing: The agent failed because model auto 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:
        'auto':
          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 auto is an alias for a model already in the built-in pricing table, use the models frontmatter field to provide the mapping:

models:
  'auto':
    - claude-sonnet-4-5

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

Replace auto 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).

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-firewall/actions/runs/31596983780
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 BYOK AOAI (Entra) ·

  • expires on Aug 19, 2026, 12:36 PM UTC