fix(discord): expose /reasoning levels + reset|show|hide as native slash choices (salvage #55803) - #65732
Merged
Merged
Conversation
The Discord /reasoning command declared a single free-text `effort` parameter, so the native UI funneled every invocation into that one box and never surfaced the reset / show / hide subcommands the gateway handler already supports. Replace the free-text param with an explicit choices dropdown covering the effort levels plus reset/show/hide, mirroring the existing /tokens and /voice commands. --global persistence stays reachable by typing the command as plain text. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…s to max/ultra The salvaged choices list predates the max/ultra effort levels (#62650); add them so the Discord dropdown matches the canonical ladder. Discord caps choices at 25 — we're at 11, plenty of headroom.
teknium1
force-pushed
the
fix/discord-reasoning-choices
branch
from
July 16, 2026 15:47
25dc12c to
7e45ccf
Compare
19 tasks
tonydwb
reviewed
Jul 16, 2026
tonydwb
left a comment
There was a problem hiding this comment.
Code Review Summary
Verdict: Approved
Fix exposes /reasoning levels plus reset|show|hide as native Discord slash choices (+22 -2). Clean small fix salvaging a prior PR.
Reviewed by Hermes Agent
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
Discord's native
/reasoningslash UI now presents an explicit choices dropdown — effort levels plusreset/show/hide— instead of a free-text box that hid every subcommand and required memorizing valid values.Salvage of #55803 by @sam7894604, cherry-picked with authorship preserved, plus a follow-up widening the choices to
max/ultra(the contributor's list predates #62650).Changes
plugins/platforms/discord/adapter.py: free-texteffortparam →app_commands.choicesdropdown covering all 8 effort levels +reset/show/hide(@sam7894604; max/ultra added in follow-up). Typed-text path unchanged —--globalpersistence still reachable.scripts/release.py: AUTHOR_MAP entry.Validation
/reasoningUItests/gateway/test_discord_slash_auth.py+tests/plugins/platforms/— 152 passed.Closes #55803. Refs #61110 (Telegram picker parity — separate feature).
Infographic