Skip to content

[Auto] session_failure: Run budget exhausted: 892.732 of 850.000 tokens used. Raise the limit with --max #767

Closed as not planned

Description

@igorcosta

Auto-Reported Autohand CLI Error

Field Value
Error Type session_failure
CLI Version 0.9.11
Model moa
Provider autohandai
Platform win32 10.0.26300
Session ID 04e674cd-c634-4d20-a52c-f983bc3fd26c-1795018106136
Report ID 4KKy7FQOSdCLLJ4caLhLB

Error Message

Run budget exhausted: 892.732 of 850.000 tokens used. Raise the limit with --max-requests, --max-tokens, or --max-duration, or agent.budget in the config.

Stack Trace

RunBudgetExceededError: Run budget exhausted: 892.732 of 850.000 tokens used. Raise the limit with --max-requests, --max-tokens, or --max-duration, or agent.budget in the config.
    at assertRequestAllowed (B:/~BUN/root/autohand-windows-x64.exe:274438:37)
    at runAgentReactLoop (B:/~BUN/root/autohand-windows-x64.exe:275461:45)
    at processTicksAndRejections (native:7:39)

Session Context

  • Conversation length: 150 messages
  • Context usage: 17%
  • Last tools used: run_tool_script, run_tool_script, run_tool_script
  • Retry attempt: 0 / 3

Additional Context

{
  "clientType": "cli",
  "retryAttempt": 0,
  "maxRetries": 3
}

Auto-reported by Autohand CLI v0.9.11 | Report ID: 4KKy7FQOSdCLLJ4caLhLB

Activity

  1. added
    bug
    on Nov 18, 2026
  2. igorcosta commented on Nov 20, 2026

    @igorcosta
    ContributorAuthor

    Not a defect in the run: it stopped at a limit that was configured for it (--max-requests, --max-tokens, --max-duration or agent.budget), which is the intended behaviour.

    The actual problem was that the CLI filed this as a bug. Fixed on main in 9f9b1fe: budget exhaustion is now treated as an operational condition and is no longer auto-reported. Ships in 0.9.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-reportedbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions