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
{{ message }}
Repository navigation
[DOCS] cli renames per-mode prompt config to mode adjustments (mode-change reminder is the sole mode-instruction carrier) #623
inference-gateway/cli PR #1135 (resolves cli#1134) renames the per-mode prompt config surface and re-purposes the per-mode texts. The mode-specific instructions are no longer system prompts: the system prompt at message[0] is now guaranteed byte-stable across agent-mode switches (Shift+Tab) to keep the prompt/KV cache warm, and the per-mode instructions are delivered by the built-in on_mode_change system reminder instead.
Config changes shipped in cli PR #1135 (docs/ in that repo are updated in the same PR):
agent.system_prompt_plan / agent.system_prompt_auto renamed to agent.mode_adjustment_plan / agent.mode_adjustment_auto (YAML keys mode_adjustment_plan / mode_adjustment_auto). They ship empty; the built-in texts live in the mode-change reminder guidance map in reminders.yaml.
New env vars INFER_PROMPTS_AGENT_MODE_ADJUSTMENT_PLAN / _AUTO. The old INFER_PROMPTS_AGENT_SYSTEM_PROMPT_PLAN / _AUTO still load with a deprecation warning and lose when both are set.
The deprecated YAML keys still load into the new fields (new keys win).
New behavior: the mode-change reminder is the sole carrier of mode-specific instructions, so with reminders.enabled: false those instructions are not delivered.
This repo's docs (site/landing pages) may describe agent.system_prompt_plan / agent.system_prompt_auto or the plan-mode prompt model; they should be reconciled with the new surface.
Any page here that documents agent.system_prompt_plan / agent.system_prompt_auto or INFER_PROMPTS_AGENT_SYSTEM_PROMPT_PLAN / _AUTO is updated to agent.mode_adjustment_plan / agent.mode_adjustment_auto and the new env vars, with a deprecation note for the old names.
The plan-mode story reflects that plan instructions arrive via the on_mode_change system reminder while the system prompt stays byte-stable across mode switches (KV-cache rationale).
The reminders.enabled: false trade-off (mode-specific instructions not delivered) is stated wherever reminder behavior is described.
Gather context (only cli.md referenced the old surface)
Update cli.md for mode_adjustment_plan / mode_adjustment_auto + new env vars, with deprecation note
Document the mode-change reminder as sole carrier + KV-cache rationale
State the reminders.enabled: false trade-off
lint:md, format:check, build all pass
Commit + PR
Changes (all in cli.md)
New How mode instructions are delivered subsection under Plan Mode: system prompt at message[0] is byte-stable across Shift+Tab (KV-cache rationale), per-mode text rides in the built-in mode-change-reminder{guidance} placeholder, plus the precedence table (reminders.yaml guidance > prompts.yaml mode adjustment > built-in).
Auto-Accept Mode: prompts.agent.system_prompt_auto -> mode_adjustment_auto delivered via the reminder; deprecation note covers the old YAML keys and INFER_PROMPTS_AGENT_SYSTEM_PROMPT_PLAN / _AUTO (new names win).
Added INFER_PROMPTS_AGENT_MODE_ADJUSTMENT_PLAN / _AUTO to the environment variables block.
System Reminders: documented the on_mode_change trigger and the guidance field.
reminders.enabled: false trade-off stated in both the mode section and the reminders precedence section (tool restrictions unaffected, only guidance text is lost).
Skipped: the wider drift between this page's reminders schema and upstream (extra hook points, merge: true, additional triggers) - out of scope for this issue, worth its own ticket.
| Branch | PR #624
Activity
edenreich commentedon Aug 31, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 31, 2026
Claude finished @edenreich's task in 3m 0s —— View job •
docs/issue-623-20260831-1651• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-623-20260831-1651?quick_pull=1&title=Issue%20%23623%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23623%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #624
cli.mdreferenced the old surface)cli.mdformode_adjustment_plan/mode_adjustment_auto+ new env vars, with deprecation notereminders.enabled: falsetrade-offlint:md,format:check,buildall passChanges (all in
cli.md)message[0]is byte-stable across Shift+Tab (KV-cache rationale), per-mode text rides in the built-inmode-change-reminder{guidance}placeholder, plus the precedence table (reminders.yamlguidance >prompts.yamlmode adjustment > built-in).prompts.agent.system_prompt_auto->mode_adjustment_autodelivered via the reminder; deprecation note covers the old YAML keys andINFER_PROMPTS_AGENT_SYSTEM_PROMPT_PLAN/_AUTO(new names win).INFER_PROMPTS_AGENT_MODE_ADJUSTMENT_PLAN/_AUTOto the environment variables block.on_mode_changetrigger and theguidancefield.reminders.enabled: falsetrade-off stated in both the mode section and the reminders precedence section (tool restrictions unaffected, only guidance text is lost).Skipped: the wider drift between this page's reminders schema and upstream (extra hook points,
merge: true, additional triggers) - out of scope for this issue, worth its own ticket.| Branch | PR #624
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀