[aw] Expert Code Review (on open) has no AI credits pricing for model (gemini-3.6-flash)

Open Beginner friendly
#15,054 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions
Domain
ci-cd

Research direction

Start with .github/workflows/review-on-open.agent.md and inspect its model configuration alongside the failed run linked in the issue. Configure pricing or a recognized model mapping for gemini-3.6-flash, then verify the Expert Code Review workflow no longer receives HTTP 400 errors from the AWF API proxy.

Written by the indexing model from the issue text.

Description

agentic-workflows
Workflow Failure

Workflow: Expert Code Review (on open)
Branch: fix/node-reuse-probe-resilience
Run: https://github.com/dotnet/msbuild/actions/runs/35114119915
Pull Request: #15051

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

models:
  'gemini-3.6-flash':
    - claude-sonnet-4-5

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

Replace gemini-3.6-flash 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/dotnet/msbuild/actions/runs/35114119915
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 Expert Code Review (on open) · copilot · 1K AIC ·

Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 17h
Merged PRs (30d)
119

Contributor guide

No contributing guide indexed for this repository

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 dotnet/msbuild

All issues in dotnet/msbuild

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.