feat(slack): add thinking_placeholder config option to disable "Thinking..." message#861
Open
SeHoJoo wants to merge 3 commits intonextlevelbuilder:devfrom
Open
Conversation
…ing..." message When thinking_placeholder is set to false, the bot skips sending the "Thinking..." placeholder before processing. The final response is delivered as a new Slack message (via the existing sendChunked fallback), which triggers a push notification on completion rather than on the placeholder. StreamEnabled() also returns false when disableThinking is true — streaming works by progressively editing the placeholder, so without one there is nothing to edit. DB-based channel instances (UI-configured) are supported via factory.go slackInstanceConfig. Default behavior (thinking_placeholder omitted or true) is unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ettings Adds Thinking Placeholder toggle in Advanced Settings → Streaming section. DM Streaming and Group Streaming are grayed out with a hint when Thinking Placeholder is disabled, since streaming requires a placeholder message to edit into. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0831291 to
d33c360
Compare
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
Adds `thinking_placeholder` config option to disable the `"Thinking..."` placeholder message in Slack channels.
UX motivation: With the current placeholder approach, users receive a push notification for `"Thinking..."` but not for the actual answer (message edits don't trigger Slack push). Disabling the placeholder causes the final response to arrive as a new message, which triggers a push notification on completion.
Changes:
Config (UI): Slack channel → Advanced Settings → Streaming → Thinking Placeholder toggle
Interaction with streaming options:
When `thinking_placeholder` is off, `dm_stream` / `group_stream` are also effectively disabled — streaming works by progressively editing the placeholder, so without one there is nothing to edit. `StreamEnabled()` enforces this explicitly. The UI reflects this by graying out the streaming toggles with a hint.
Default behavior (`thinking_placeholder` omitted or `true`) is fully unchanged.
Test plan
🤖 Generated with Claude Code