thankful-gold-55179
04/09/2026, 8:07 AMimportant-yak-87889
04/09/2026, 7:44 PMimportant-yak-87889
04/09/2026, 7:44 PMnutritious-balloon-65098
04/09/2026, 7:45 PMnutritious-balloon-65098
04/09/2026, 7:46 PMimportant-yak-87889
04/09/2026, 7:47 PMnutritious-balloon-65098
04/09/2026, 7:51 PMnutritious-balloon-65098
04/09/2026, 7:54 PMmax_iterations and max_budget_per_task in the OpenHands resolver flow, and whether max_iterations defaults to 50.
## Answer
Partially True:
✅ max_iterations - CONFIRMED TRUE
- IS available in the resolver flow
- DOES default to 50
- Can be set via CLI argument (--max-iterations) or GitHub Actions workflow input
- Evidence found in openhands/resolver/resolve_issue.py and .github/workflows/openhands-resolver.yml
❌ max_budget_per_task - NOT AVAILABLE in resolver
- Exists in general OpenHands settings API but NOT in the resolver flow specifically
- Not available as a CLI argument in resolve_issue.py
- Not an input parameter in the GitHub Actions resolver workflow
## Bottom Line
You can control resolver iterations (defaults to 50), but not budget directly through the resolver interface. For your vulnerability fix automation use case, you'll need to rely on max_iterations to limit token costs, as max_budget_per_task is not supported in the resolver flow.thankful-gold-55179
04/10/2026, 5:46 AMthankful-gold-55179
04/10/2026, 5:47 AMthankful-gold-55179
04/10/2026, 5:48 AM