Add favorites to model selector (#23) (#4343)

Co-authored-by: Github Action <action@github.com>
This commit is contained in:
shuv
2025-11-25 22:41:41 -08:00
committed by GitHub
parent 73eae191e9
commit 335f46122b
10 changed files with 253 additions and 39 deletions

View File

@@ -245,6 +245,24 @@ function App() {
local.model.cycle(-1)
},
},
{
title: "Favorite cycle",
value: "model.cycle_favorite",
keybind: "model_cycle_favorite",
category: "Agent",
onSelect: () => {
local.model.cycleFavorite(1)
},
},
{
title: "Favorite cycle reverse",
value: "model.cycle_favorite_reverse",
keybind: "model_cycle_favorite_reverse",
category: "Agent",
onSelect: () => {
local.model.cycleFavorite(-1)
},
},
{
title: "Switch agent",
value: "agent.list",