Skip to content

docs: document the wall-clock time budget - #1022

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-1021-20261020-1429
Oct 20, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-1021-20261020-1429

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the wall-clock time budget on both sides: the action's time-budget-minutes input and the CLI's agent.max_duration_minutes.

github-action.md

  • time-budget-minutes row in the inputs table, next to max-turns
  • a new Time budget section after Native reminders: why turns alone are not enough, the 80% wrap-up, the 100% stop with exit code 3 inside a live job, the timeout-minutes headroom rule and the 60-minute ceiling for a create-github-app-token token
  • outputs table: exit-code now spells out 2 (turn limit) and 3 (time budget) instead of "non-zero means the agent failed", and timed-out covers the time budget
  • Native reminders lists the time-budget wrap-up on elapsed_minutes, and the trigger catalog line includes it
  • the security tip on capping max-turns points at the time budget

cli.md

  • agent.max_duration_minutes / INFER_AGENT_MAX_DURATION_MINUTES in the Agent Configuration list next to max turns, plus a hot-key row (it reloads from the next turn)
  • headless exit codes table gains 3, with a note that 2 and 3 both mean stopped early rather than broken
  • elapsed_minutes in the reminders trigger catalog, and the threshold field description now covers it

Facts verified against the CLI source at main (cmd/headless/headless.go, config/reminders.go, docs/configuration-reference.md) and the action's own PR description.

Validation

bun run format:check, bun run lint:md and bun run build all pass.

Closes #1021

Generated with Claude Code

Co-authored-by: Eden Reich <16985712+edenreich@users.noreply.github.com>
@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit dc56278 into main Oct 20, 2026
8 checks passed
@edenreich
edenreich deleted the docs/issue-1021-20261020-1429 branch October 20, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document the wall-clock time budget (time-budget-minutes, agent.max_duration_minutes)

1 participant