[aw] Triage has no AI credits pricing for model (auto)
- Dominant language
- No language data
- Stars
- 287
- Forks
- 145
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 10
Description
### Workflow Failure
**Workflow:** [Triage](https://github.com/dotnet/source-build/blob/main/.github/workflows/triage.md)
**Branch:** main
**Run:** https://github.com/dotnet/source-build/actions/runs/32967077429
> [!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:**
```yaml
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:
```yaml
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/dotnet/source-build/actions/runs/32967077429
````
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the `agentic-workflows` prompt.
- Start your agent
- Load the `agentic-workflows` skill from `.github/skills/agentic-workflows/SKILL.md` or
- Type `debug the agentic workflow triage failure in https://github.com/dotnet/source-build/actions/runs/32967077429`
> [!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:
> ```yaml
> safe-outputs:
> report-failure-as-issue: false
> ```
>
>
> Generated from [Triage](https://github.com/dotnet/source-build/actions/runs/32967077429) · [◷](https://github.com/search?q=repo%3Adotnet%2Fsource-build+is%3Aissue+%22gh-aw-workflow-id%3A+triage%22&type=issues)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with .github/workflows/triage.md and the linked failed workflow run. Inspect the workflow frontmatter and its model configuration, then rerun or manually invoke Triage to verify that inference requests are accepted and the workflow no longer fails because model auto lacks pricing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100