Repository navigation
Description
Workflow Failure
Workflow: Daily Safe Outputs Git Simulator
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/30331488756
Warning
Model has no AI credits pricing: The agent failed because model claude-opus-5 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:
anthropic:
models:
'claude-opus-5':
cost:
input: "0e0" # $0.00 per million input tokens
output: "0e0" # $0.00 per million output tokensUse 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 claude-opus-5 is an alias for a model already in the built-in pricing table, use the models frontmatter field to provide the mapping:
models:
'claude-opus-5':
- claude-sonnet-4-5Option 3 — Switch to a model already in the built-in pricing table:
Replace claude-opus-5 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
Engine Failure: The claude engine terminated unexpectedly.
Last agent output:
2026-07-28T05:25:59.370Z [ERROR] API error (attempt 1/11): 400 400 Model "claude-opus-5" has no AI credits pricing and no default pricing is configured. Set apiProxy.defaultAiCreditsPricing in the AWF config (e.g. {"input": 3.0, "output": 15.0}) to provide a fallback rate, or add the model to the pricing table.
2026-07-28T05:25:59.370Z [WARN] [server-fallback] 400 attributed (unattributed) — stripping and retrying
2026-07-28T05:25:59.371Z [DEBUG] [API:timing] dispatching to firstParty model=claude-opus-5[1m]
2026-07-28T05:25:59.372Z [DEBUG] [API REQUEST] /v1/messages source=sdk
2026-07-28T05:25:59.430Z [DEBUG] [mcp-registry] Loaded 294 official MCP URLs (legacy)
2026-07-28T05:25:59.486Z [ERROR] API error (attempt 1/11): 400 400 Model "claude-opus-5" has no AI credits pricing and no default pricing is configured. Set apiProxy.defaultAiCreditsPricing in the AWF config (e.g. {"input": 3.0, "output": 15.0}) to provide a fallback rate, or add the model to the pricing table.
{"type":"assistant","message":{"id":"359c6def-b357-482a-90a5-0cfbc8b7314c","container":null,"model":"<synthetic>","role":"assistant","stop_details":null,"stop_reason":"stop_sequence","stop_sequence":"","type":"message","usage":{"input_tokens":0,"output_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":null,"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":null,"iterations":null,"speed":null},"content":[{"type":"text","text":"API Error: 400 Model \"claude-opus-5\" has no AI credits pricing and no default pricing is configured. Set apiProxy.defaultAiCreditsPricing in the AWF config (e.g. {\"input\": 3.0, \"output\": 15.0}) to provide a fallback rate, or add the model to the pricing table."}],"context_management":null},"parent_tool_use_id":null,"session_id":"2f63a52c-cbf6-4c69-8df2-92b6400032ad","uuid":"22404275-0472-4791-bd29-0339ac0b4990","timestamp":"2026-07-28T05:25:59.488Z","error":"unknown","is_api_error_message":true}
{"is_error":true,"duration_api_ms":0,"num_turns":1,"stop_reason":"stop_sequence","session_id":"2f63a52c-cbf6-4c69-8df2-92b6400032ad","total_cost_usd":0,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{},"permission_denials":[],"terminal_reason":"api_error","fast_mode_state":"off","fast_mode_disabled_reason":"disabled_by_env","subtype":"success","api_error_status":400,"result":"API Error: 400 Model \"claude-opus-5\" has no AI credits pricing and no default pricing is configured. Set apiProxy.defaultAiCreditsPricing in the AWF config (e.g. {\"input\": 3.0, \"output\": 15.0}) to provide a fallback rate, or add the model to the pricing table.","type":"result","duration_ms":408,"uuid":"31afc911-ebc5-4521-ae85-73a43cf80d60"}
2026-07-28T05:25:59.487Z [ERROR] Error in API request: 400 Model "claude-opus-5" has no AI credits pricing and no default pricing is configured. Set apiProxy.defaultAiCreditsPricing in the AWF config (e.g. {"input": 3.0, "output": 15.0}) to provide a fallback rate, or add the model to the pricing table.
2026-07-28T05:25:59.494Z [DEBUG] LSP server manager shut down successfully
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/actions/runs/30331488756
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 daily-safeoutputs-git-simulator failure in https://github.com/github/gh-aw/actions/runs/30331488756
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: falseGenerated from Daily Safe Outputs Git Simulator · ◷
- expires on Jul 28, 2026, 5:27 PM UTC
Activity
github-actions commentedon Jul 28, 2026
Update 2026-07-28: Same root cause (missing AI credits pricing for
claude-opus-5) now also observed in Daily AstroStyleLite Markdown Spellcheck — 3 consecutive daily failures (Jul 26, 27, 28) after a prior 100% success streak (Jul 21–25). This confirms the pattern is spreading to additional unrelated workflows over time.Recommending the fix be applied as a repo-wide
sandbox.agent.default-ai-credits-pricingfallback (similar to the approach in closed #48292) rather than patching each workflow individually, since new workflows keep regressing into this failure mode as they roll onto the affected model.github-actions commentedon Jul 28, 2026
This issue was automatically closed because it expired on 2026-07-28T17:27:55.518Z.