hermes - 💡(How to fix) Fix Feature Request: /new all — reset all group topic sessions in one command

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

  • hermes sessions prune — too nuclear, deletes history permanently
  • Manual per-topic reset — current workaround, but scales poorly
RAW_BUFFERClick to expand / collapse

Feature Description

On Telegram group chats with topics/threads, each topic gets its own independent Hermes session. Currently, /new (or /reset) only resets the current session you are in. There is no way to reset all topic sessions at once.

When switching to a new model or provider, users have to manually visit every topic and type /new in each one — tedious if you have 5+ active threads.

Proposed Solution

A new slash command that resets all sessions belonging to the current group chat:

  • /new all — reset every topic session in the current group
  • /reset all — same behaviour, alternate name

The gateway would iterate over all active sessions tied to the current group chat ID and reset them.

Motivation

  • Saves time after model/provider changes
  • Consistent state — avoids half-reset groups where some topics are on the old model
  • Matches user expectation/new exists per-session, having a bulk variant is the natural next step

Alternatives Considered

  • hermes sessions prune — too nuclear, deletes history permanently
  • Manual per-topic reset — current workaround, but scales poorly

Implementation Notes

The gateway already tracks sessions by (platform, chat_id, thread_id). A /new all handler could query all sessions matching the current platform + chat_id and issue a reset for each. The trickiest bit is probably sending responses back to the correct threads after reset — each topic needs to acknowledge independently.


Suggested by a user running Hermes on Telegram group chat with topic threads.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Feature Request: /new all — reset all group topic sessions in one command