Просмотр исходного кода

fix: keybinds for agent and model selection

Adam 2 месяцев назад
Родитель
Сommit
4fd9a19fbb
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      packages/desktop/src/pages/session.tsx

+ 2 - 0
packages/desktop/src/pages/session.tsx

@@ -243,6 +243,7 @@ export default function Page() {
       title: "Choose model",
       title: "Choose model",
       description: "Select a different model",
       description: "Select a different model",
       category: "Model",
       category: "Model",
+      keybind: "mod+'",
       slash: "model",
       slash: "model",
       onSelect: () => dialog.replace(() => <DialogSelectModel />),
       onSelect: () => dialog.replace(() => <DialogSelectModel />),
     },
     },
@@ -251,6 +252,7 @@ export default function Page() {
       title: "Cycle agent",
       title: "Cycle agent",
       description: "Switch to the next agent",
       description: "Switch to the next agent",
       category: "Agent",
       category: "Agent",
+      keybind: "mod+.",
       slash: "agent",
       slash: "agent",
       onSelect: () => local.agent.move(1),
       onSelect: () => local.agent.move(1),
     },
     },