refactor(channels): Slim remote-control prompt and disable system reminders#526
Merged
Merged
Conversation
…inders by default Issue #525: a "Hi" routed through the channels-manager (Telegram bot) was answered with paragraphs because the agent ran with the verbose default system prompt and got a periodic `<system-reminder>` injection every 4 turns. Wire the existing `SystemPromptRemote` (previously dead code) for channel-driven sessions via a new `--remote` flag, rewrite its body for short chat-style replies, and ship system reminders disabled by default - users can re-enable via prompts.yaml or the new `INFER_PROMPTS_AGENT_SYSTEM_REMINDERS_ENABLED` / `_INTERVAL` env vars.
inference-gateway-releaser-bot Bot
pushed a commit
that referenced
this pull request
May 21, 2026
## [0.109.11](v0.109.10...v0.109.11) (2026-05-21) ### 🐛 Bug Fixes * **dependabot:** Ignore golang updates for versions >=1.26.3 ([2dba01c](2dba01c)) * **a2a:** Surface swallowed failure errors from A2A tasks ([cda339e](cda339e)) ### ♻️ Code Refactoring * **channels:** Slim remote-control prompt and disable system reminders ([#526](#526)) ([165a9ca](165a9ca)) ### 🔧 Build System * **deps:** Bump golang.org/x/image from 0.40.0 to 0.41.0 in the gomod group ([#527](#527)) ([f218c07](f218c07)) ### 👷 CI/CD * **deps:** Bump anthropics/claude-code-action from 1.0.127 to 1.0.129 in the github-actions group ([#528](#528)) ([42b6d61](42b6d61)) ### 🧹 Maintenance * **dependabot:** Update golang and ubuntu version ignore criteria ([4f34d5e](4f34d5e))
Contributor
|
🎉 This PR is included in version 0.109.11 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SystemPromptRemote(previously dead code) into channel-driven agent sessions via a newinfer agent --remoteflag, mirroring the--heartbeatpattern. The channels-manager now spawns the subprocess with--remote.SystemPromptRemotefor short, chat-style replies suited to messaging channels (Telegram, etc.). The old SSH/computer-use body was unused and unrelated.SystemReminders.Enableddefault tofalse(the<system-reminder>nudge burned tokens on every 4th turn). Users can opt back in viaprompts.yamlor new env vars:INFER_PROMPTS_AGENT_SYSTEM_REMINDERS_ENABLED,INFER_PROMPTS_AGENT_SYSTEM_REMINDERS_INTERVAL.mergePromptDefaultsto backfillSystemReminders.Intervalwhen zero, so users who only flipenabled: trueget sensible cadence..infer/prompts.yamlwith the new defaults; add a "Remote-Control Prompt and System Reminders" subsection todocs/channels.md.Closes #525.