mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
docs(slack): document ignore_other_user_mentions
Adds the option to the Mention & Trigger Behavior section: leading- mention semantics, opt-in default, env var, and DM/MPIM scope (1:1 DMs unaffected; MPIMs apply it like channels). Claude-Session: https://claude.ai/code/session_01TKsNdptNdo9CqT2u7JMdkH
This commit is contained in:
parent
505123d18a
commit
3d593c808a
1 changed files with 13 additions and 0 deletions
|
|
@ -492,6 +492,15 @@ slack:
|
|||
# must @mention the bot before Hermes will respond.
|
||||
strict_mention: false
|
||||
|
||||
# Ignore messages addressed to another user: when a channel or thread
|
||||
# message *opens* by @mentioning someone other than the bot (e.g.
|
||||
# "@rasha can you take this?"), stay silent unless the bot is also
|
||||
# mentioned. Only a *leading* mention counts as "addressed to" — a
|
||||
# message that references someone mid-sentence ("loop in @rasha")
|
||||
# still reaches the bot. Overrides free_response_channels and thread
|
||||
# auto-engagement. Opt-in; default off. Env: SLACK_IGNORE_OTHER_USER_MENTIONS.
|
||||
ignore_other_user_mentions: false
|
||||
|
||||
# Custom mention patterns that trigger the bot
|
||||
# (in addition to the default @mention detection)
|
||||
mention_patterns:
|
||||
|
|
@ -506,6 +515,10 @@ slack:
|
|||
Set this to `true` in busy workspaces where Slack's default "the bot remembers this thread" behavior surprises users — for example, a long tech-support thread where the bot helped at the start and you'd rather it stay silent unless explicitly pinged again. DMs and active interactive sessions are unaffected.
|
||||
:::
|
||||
|
||||
:::tip When to use `ignore_other_user_mentions`
|
||||
Set this to `true` when the bot follows busy threads (via thread auto-engagement or `free_response_channels`) and butts in on messages humans address to each other. It is a narrower tool than `strict_mention`: plain follow-ups in an engaged thread still get answers; only messages that open by @mentioning another person are skipped. **1:1 DMs are unaffected**; group DMs (MPIMs) and channels both apply it, matching the shared-surface policy below. Broadcast tokens (`@here`, `@channel`) and channel references address the room, not a person, so they are never skipped.
|
||||
:::
|
||||
|
||||
:::info
|
||||
Slack supports both patterns: `@mention` required to start a conversation by default, but you can opt specific channels out via `SLACK_FREE_RESPONSE_CHANNELS` (comma-separated channel IDs) or `slack.free_response_channels` in `config.yaml`. Once the bot has an active session in a thread, subsequent thread replies do not require a mention. In **1:1 DMs** the bot always responds without needing a mention.
|
||||
:::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue