[aw] Expert Code Review (on open) has no AI credits pricing for model (gemini-3.6-flash)
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
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 modelgemini-3.6-flashis 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.
- Start your agent
- Load the
agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.md - Type
debug the agentic workflow review-on-open.agent failure in https://github.com/dotnet/msbuild/actions/runs/35114119915
[!TIP]
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/msbuild
-
Area: Analyzer Area: Multithreaded Priority:2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
flaky-test
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
flaky-test
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
flaky-test
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·