You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
infer tools validate <command> now exits non-zero, with the reason on stderr, when the command is not allowed or tools are disabled. It can gate a shell conditional:
infer tools validate "$cmd"&&eval"$cmd"
infer status --format json|yaml prints one object with url, status (running or unreachable), version, source, models (active model count) and, when the gateway is unreachable, error. An unreachable gateway still exits 0. An unknown format exits non-zero. Before, both formats printed the text block followed by Output format: json.
infer status --format json | jq -r .status
infer agents add|update --environment accepts KEY=VALUE,KEY=VALUE. The repeated --environment KEY=VALUE form still works. An empty --environment "" is now rejected.
The in-repo copies (docs/commands-reference.md, docs/agents-configuration.md in inference-gateway/cli) are already updated in the source PR.
Affected pages:
cli.md - the infer tools validate sections (around lines 2524-2529 and 4887), the infer status sections (around lines 153, 291, 4861 and 4932), and the infer agents add/update examples (around line 4512)
a2a.md - the --environment KEY=value example (around line 137)
Acceptance Criteria
cli.md states that infer tools validate exits non-zero for a disallowed command or disabled tools, with the && eval example
cli.md documents infer status --format json|yaml, its fields and its exit codes
cli.md and a2a.md show the comma-separated --environment KEY=VALUE,KEY=VALUE form next to the repeated-flag form
"Running Tools Directly" now states that infer tools validate exits non-zero with the reason on stderr when the command is not allowed or tools are disabled, and shows the infer tools validate "$cmd" && eval "$cmd" gate. The troubleshooting snippet carries the same one-line note.
New ### Gateway Status section under Core Commands: infer status --format json|yaml, a table of the url, status (running/unreachable), version, source, models and error fields, the jq -r .status example, and the exit codes - unreachable still exits 0, an unknown format exits non-zero. Both the Core Commands and Command Reference rows for infer status mention --format and link to it.
A2A setup examples gained the --environment API_KEY=secret,LOG_LEVEL=debug form next to the repeated-flag form, with a note that the two mix and that --environment "" is rejected.
a2a.md - the --environment example now shows both forms, with the same note.
Activity
edenreich commentedon Oct 30, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Oct 30, 2026
Claude finished @edenreich's task in 2m 27s —— View job •
docs/issue-1038-20261030-1929• Create PR ➔Documented - PR #1039
cli.mdanda2a.mdtools validateexit code +&& evalexamplestatus --format json|yamlfields and exit codes--environmentform in both pagesWhat changed
cli.mdinfer tools validateexits non-zero with the reason on stderr when the command is not allowed or tools are disabled, and shows theinfer tools validate "$cmd" && eval "$cmd"gate. The troubleshooting snippet carries the same one-line note.### Gateway Statussection under Core Commands:infer status --format json|yaml, a table of theurl,status(running/unreachable),version,source,modelsanderrorfields, thejq -r .statusexample, and the exit codes - unreachable still exits 0, an unknown format exits non-zero. Both the Core Commands and Command Reference rows forinfer statusmention--formatand link to it.--environment API_KEY=secret,LOG_LEVEL=debugform next to the repeated-flag form, with a note that the two mix and that--environment ""is rejected.a2a.md- the--environmentexample now shows both forms, with the same note.No in-repo generated sections were touched.
| Branch:
docs/issue-1038-20261030-1929refactor(cmd): route command output and config write paths onto share…
inference-gateway-releaser commentedon Oct 31, 2026
🎉 This issue has been resolved in version 0.9.23 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀