feat: add keyboard shortcut for opening the model selector (#21130)

This commit is contained in:
Thomas Rehn
2026-02-03 14:09:02 -06:00
committed by GitHub
parent a2b9986a75
commit a9e0462e57
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -16,6 +16,7 @@ export enum Shortcut {
NEW_CHAT = 'newChat',
NEW_TEMPORARY_CHAT = 'newTemporaryChat',
DELETE_CHAT = 'deleteChat',
OPEN_MODEL_SELECTOR = 'openModelSelector',
//Global
SEARCH = 'search',
@@ -58,6 +59,11 @@ export const shortcuts: ShortcutRegistry = {
keys: ['mod', 'shift', 'Backspace', 'Delete'],
category: 'Chat'
},
[Shortcut.OPEN_MODEL_SELECTOR]: {
name: 'Open Model Selector',
keys: ['mod', 'shift', 'M'],
category: 'Chat'
},
//Global
[Shortcut.SEARCH]: {