Skip to content

Add chat model picker#924

Merged
hazeone merged 5 commits intomainfrom
cursor/chat-model-picker-d92d
May 7, 2026
Merged

Add chat model picker#924
hazeone merged 5 commits intomainfrom
cursor/chat-model-picker-d92d

Conversation

@hazeone
Copy link
Copy Markdown
Contributor

@hazeone hazeone commented Apr 28, 2026

Summary

Adds a compact model picker to the chat composer so users with multiple configured custom models can switch the current agent model from the chat box. Model labels show only the model id after the runtime provider prefix, and model-only changes update agent/runtime metadata without triggering a gateway reload or restart.

chat_model_picker_clean_switch.mp4

Related Issue(s)

N/A

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other

Validation

  • pnpm exec vitest run tests/unit/agents-routes.test.ts tests/unit/model-options.test.ts tests/unit/chat-input.test.tsx tests/unit/provider-runtime-sync.test.ts
  • pnpm run ext:bridge && pnpm run typecheck && pnpm run lint && pnpm test
  • pnpm run build:vite && xvfb-run -a pnpm exec playwright test tests/e2e/chat-model-picker.spec.ts tests/e2e/chat-latex-rendering.spec.ts tests/e2e/chat-skill-trigger-i18n.spec.ts

Checklist

  • I ran relevant checks/tests locally.
  • I updated docs if behavior or interfaces changed.
  • I verified there are no unrelated changes in this PR.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

@cursor cursor Bot force-pushed the cursor/chat-model-picker-d92d branch 2 times, most recently from c12ab0c to c07b005 Compare April 30, 2026 11:16
@cursor cursor Bot force-pushed the cursor/chat-model-picker-d92d branch from c07b005 to 1291be6 Compare May 7, 2026 03:03
cursoragent and others added 4 commits May 7, 2026 11:58
Co-authored-by: Haze <hazeone@users.noreply.github.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
@hazeone hazeone force-pushed the cursor/chat-model-picker-d92d branch from 1291be6 to 4f35000 Compare May 7, 2026 04:02
@hazeone hazeone marked this pull request as ready for review May 7, 2026 07:26
@hazeone hazeone merged commit 50e88f6 into main May 7, 2026
5 checks passed
@hazeone hazeone deleted the cursor/chat-model-picker-d92d branch May 7, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants