#11115: [AI-assisted] Add /model-set chat command with autocompletion and search/pick option
stale
Cluster:
UI and Model Management Enhancements
This PR was assisted by OpenCode.
Testing status: lightly tested in local sessions.
This pull request introduces a new `/model-set` chat command that allows users to search for and pick the active model in a session, along with supporting infrastructure for model selection and user feedback. It also updates help and UI text throughout the codebase to reference the new command and exposes model picker catalog utilities for broader use.
[Watch the demo video](https://1drv.ms/v/c/09ad408b39291cf7/IQAINAYkPHfdSbJl91OSCW9gAYM29NVcn45tPL0fTUUs9IQ?e=8SmGqh)
And here is some screenshot:
<img width="416" height="572" alt="image" src="https://github.com/user-attachments/assets/96d22d5b-acc2-4430-abee-cf60d30ea6e0" />
<img width="325" height="260" alt="image" src="https://github.com/user-attachments/assets/442f03eb-3712-4ed9-a059-3f6e5bf9fb7d" />
<img width="521" height="103" alt="image" src="https://github.com/user-attachments/assets/c205ff1d-a04f-464c-bbc2-b04c9316125f" />
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `/model-set` command to search/pick the active model, wires it into the command registry/dispatcher, and updates model directive help text and the trigger-handling E2E test expectations to mention the new command. It also exports `buildModelPickerCatalog` so the new command can reuse the model picker catalog logic for autocompletion choices.
<h3>Confidence Score: 4/5</h3>
- This PR is close to safe to merge, with a couple of issues to address first.
- Core wiring for the new command is straightforward and updates appear consistent across registry/handler/help text, but there is a clear formatting issue in an E2E test and the new command currently forces an uncached model-catalog load on every invocation, which is likely to be a real performance/regression concern in interactive use.
- src/auto-reply/reply/commands-model-set.ts; src/auto-reply/reply.triggers.trigger-handling.shows-quick-model-picker-grouped-by-model.e2e.test.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#6440: feat(ui): add model picker dialog with provider filtering
by igorls · 2026-02-01
82.1%
#8083: fix(tui): update model status immediately after /model command
by rohanjangala · 2026-02-03
79.8%
#8475: models: discover local Windsurf/Cursor/Antigravity models
by gitSITTI · 2026-02-04
75.9%
#3649: docs: remove numeric model selection references and document /models
by Jackten · 2026-01-29
75.8%
#6059: fix #6044
by vivganes · 2026-02-01
75.4%
#7020: feat: add search/filter to model selection in configure wizard
by GuoxiangZu · 2026-02-02
75.4%
#7794: fix(tui): refresh session info periodically to reflect config changes
by GuoxiangZu · 2026-02-03
75.0%
#8546: Fix/config UI improvements
by RandomRaine · 2026-02-04
74.3%
#8522: feat(control-ui): Add Model Requests panel for real-time API monito...
by GiantAxeWhy · 2026-02-04
74.2%
#9803: fix(#9801): auto-build control ui assets on demand
by dead-pool-aka-wilson · 2026-02-05
74.1%