Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#10,174 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, typescript, yaml
Domain
ci-cd, devops

Research direction

Start with the linked Smoke Copilot BYOK AOAI (Entra) workflow and inspect the failed run to confirm how o4-mini-aw is configured and why pricing is unavailable. Check the pricing and model-mapping options described in the issue, then verify the chosen resolution by rerunning the workflow and confirming inference requests succeed.

Written by the indexing model from the issue text.

Description

agentic-workflows
Workflow Failure

Workflow: Smoke Copilot BYOK AOAI (Entra)
Branch: copilot/rootless-startup-fix-config-audit
Run: https://github.com/github/gh-aw-firewall/actions/runs/39061401191
Pull Request: #10149

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

models:
  'o4-mini-aw':
    - claude-sonnet-4-5

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

Replace o4-mini-aw 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]
Task Could Not Be Completed: The workflow recorded a report_incomplete signal: the task was not completed or completion could not be confirmed.

Error details:
Failure classification: request_rejection
Driver exit code: 1. The engine driver exited before a terminal safe output was recorded.
Last tool call status: not recorded
Failed tool calls observed: 0
Token budget state: unknown (no exhaustion signal recorded)
Step budget state (LLM invocations): unknown (no exhaustion signal recorded)
Safe-output tools: available at gateway snapshot (registered 6 tools)
Safe-output CLI calls observed: unknown (not recorded)
Safe-output MCP calls observed: 0
Safe-output persistence: not recorded
Engine error: Model has no AI credits pricing (missing_model_pricing_error)
Agent finished without emitting a terminal safe output; task completion could not be confirmed.
Engine HTTP error codes: 400
Last engine error type: missing_model_pricing_error
Retry attempts observed: 0

A comment or other safe output does not confirm that the requested task was completed. Only inferred runtime status and error codes are reported; agent text is excluded.

Failure Diagnostics

Agent job: agent
Agent job conclusion: failure
Failing step: Execute GitHub Copilot CLI

The runtime did not record a specific cause. Check the linked run for failure details.

Only runtime metadata is shown; agent-generated text is excluded.

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/39061401191
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 Oct 24, 2026, 7:23 PM UTC
Dominant language
TypeScript
Stars
149
Forks
77
Avg merge
4h 36m
Merged PRs (30d)
418

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-aw-firewall

All issues in github/gh-aw-firewall

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.