Skip to content

Suppress technical reset banner in group chats #12155

@thebtf

Description

@thebtf

Problem

When /reset or /new is triggered in a group chat, OpenClaw sends a technical banner message visible to all group members:

✅ New session started · model: unleashed-google/gemini-3-pro

This leaks internal information (model name, provider) to all group participants, which is undesirable — especially for agents operating in professional/client-facing groups.

The message is sent unconditionally in src/auto-reply/reply/get-reply-run.ts:299 via routeReply() with provider: 'openclaw', model: 'delivery-mirror'.

Suggested Fix

Add a check to suppress the banner in group sessions. The variable isGroupChat is already computed on line 162 of the same file.

Minimal fix: change if (channel && to) to if (channel && to && !isGroupChat).

Ideally, this should be a configurable option, e.g.:

{
  "messages": {
    "resetGreeting": "dm-only"  // or "always" | "never" | "dm-only"
  }
}

Environment

  • OpenClaw version: 2026.2.6-3
  • Channel: Telegram (groups)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions