#19308: fix(commands): use session model for native arg menus
channel: discord
channel: slack
channel: telegram
size: M
Cluster:
Slack Thread Management Fixes
## Summary
Native /think menus were using the config default provider/model when building arg menus, so xhigh was omitted even when the active session model supported it. This uses the current session’s model context for Telegram/Discord/Slack native command menus.
## Changes
- Pass provider/model into resolveCommandArgMenu and its choice resolution
- Resolve provider/model from the session store for native command menus
- Add a commands-registry test for explicit provider/model context
- Update Slack menu mock signature
## Testing
pnpm vitest run src/auto-reply/commands-registry.test.ts src/slack/monitor/slash.test.ts
Most Similar PRs
#21809: fix(slack): prevent native command startup crash on options registr...
by graysurf · 2026-02-20
65.0%
#15969: fix: per-thread session isolation for Slack DMs when replyToMode is...
by neeravmakwana · 2026-02-14
59.3%
#21876: fix(session): clear model override on /new and /reset
by sauerdaniel · 2026-02-20
58.3%
#19059: feat(telegram): add commands.include/exclude for selective menu reg...
by moxunjinmu · 2026-02-17
58.2%
#3496: fix(tui): handle /model status and /model list subcommands
by zerone0x · 2026-01-28
58.1%
#21271: fix(commands): pass channel/capabilities/shell/os to runtime in com...
by evansantos · 2026-02-19
57.5%
#18657: feat(mattermost): add native slash command support (refresh)
by echo931 · 2026-02-16
57.5%
#8083: fix(tui): update model status immediately after /model command
by rohanjangala · 2026-02-03
57.1%
#16838: fix: include configured fallbacks in model allowlist
by taw0002 · 2026-02-15
57.1%
#20863: feat(telegram): add commandConfig for aliases, hidden commands, and...
by Alfa-ai-ccvs-tech · 2026-02-19
56.3%