Repository navigation
Labels
Description
Summary
The CLI gained a /reload chat shortcut, a built-in config skill and a validation guard on infer config set in inference-gateway/cli#1508 (closes inference-gateway/cli#1502 and inference-gateway/cli#1499). The docs site does not cover any of them yet.
/reload re-reads the config files and INFER_* env in a running infer chat.
- It applies these keys to the session:
gateway.timeout,agent.model,agent.max_turns,agent.max_tokens,agent.reasoning_effortand the wholechat.status_barsection (indicators hide or show right away). - Every other changed key is named in the status line as "restart to apply". Tools, sandbox and approval policy never change mid-session.
- A config that fails validation, or a reload while the agent is busy, keeps the previous config and shows the error.
gateway.urlandgateway.api_keytake effect on restart.
The config built-in skill handles /config <request>, e.g. /config set the gateway timeout to 300.
- It maps the request to a dotted key and shows
key: old -> new. - It writes with
infer config setonly after the user confirms, then tells the user to type/reload. - It refuses tool, sandbox, MCP, channel, plugin, hook and judge policy and secrets, and names the file to edit by hand.
infer config get/setare not allow-listed by default, so each call asks for approval.
infer config set now rejects a value the config loader would refuse (e.g. agent.reasoning_effort=bogus). It restores the previous file instead of leaving a config that stops infer from starting.
Affected pages:
cli-skills.md:- Built-in skills: "Three built-ins ship today" becomes four.
- Add a "The
configskill" subsection next tobuganddemo. - Update the frontmatter description that lists the built-ins.
cli.md: a short "Reloading configuration in chat" section near the configuration content covering/reload, the hot keys and the restart notice. Also mention thatinfer config setvalidates before saving.
Example to add:
infer config set gateway.timeout 300
# then, in infer chat:
/reload
# status line: Reloaded gateway.timeoutAcceptance Criteria
-
cli-skills.mdlists theconfigbuilt-in with its flow (resolve key, confirm,infer config set,/reload) and what it refuses. -
cli.mddocuments/reload: the hot keys, the "restart to apply" notice, and that a failed validation or a busy agent keeps the previous config. -
cli.mdnotes thatinfer config setrejects values that fail validation and keeps the previous file. - Pages link back to feat: reload configuration in chat and add a built-in /config skill cli#1508.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat: reload configuration in chat and add a built-in /config skill (#…
edenreich commentedon Oct 3, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 3, 2026
Claude finished @edenreich's task in 3m 12s —— View job •
docs/issue-916-20261003-1137• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-916-20261003-1137?quick_pull=1&title=Issue%20%23916%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23916%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #923
cli-skills.md,cli.md, AGENTS.md)config/SKILL.md, the restore path inconfig set)cli-skills.md: three built-ins -> four,configrow, frontmatter description, catalog notecli-skills.md: new "Theconfigskill" subsection - resolve key, confirmkey: old -> new, write withinfer config set, hand back/reload, plus what it refuses and the approval notecli.md: new "Reloading configuration in chat" section - hot keys table, "restart to apply" notice, failed-validation and busy-agent casescli.md:/reloadadded to the Built-in Commands tablecli.md:config setvalidates on load-back and restores the previous filebun run lint:md,bun run format:check,bun run buildall passPull request: #923
One acceptance criterion skipped
"Pages link back to inference-gateway/cli#1508" was not done on purpose.
AGENTS.mdin this repo forbids referencing GitHub issues or PRs in doc content ("no tracker numbers or links... provenance belongs in the generatedCHANGELOG.md"). The pages describe the behavior instead. Say the word if you want the link in anyway and I will add it.| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀