docs: document DM history limits (#883)

Thanks @pkrmf.

Co-authored-by: Marc Terns <tenxurz@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-15 02:22:29 +00:00
parent 6ffd7111a6
commit 12c2d37e62
9 changed files with 32 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ Or via config:
## History context
- `channels.slack.historyLimit` (or `channels.slack.accounts.*.historyLimit`) controls how many recent channel/group messages are wrapped into the prompt.
- Falls back to `messages.groupChat.historyLimit`. Set `0` to disable (default 50).
- DM history can be limited with `channels.slack.dmHistoryLimit` (user turns). Per-user overrides: `channels.slack.dms["<user_id>"].historyLimit`.
## Config writes
By default, Slack is allowed to write config updates triggered by channel events or `/config set|unset`.