feat(shortcuts): add favorite model cycle shortcut (Ctrl+R)

This commit is contained in:
Chris Scott committed 2026-10-08 14:26:41 -04:00
1 parent 994a8b82e8
commit e89b782fef
7 files changed
+71 -5

No files matched your search

+1
View File
@@ -606,6 +606,7 @@ export function SessionDetail() {
exportSession: handleExportSession,
toggleMode: () => promptInputRef.current?.cycleAgent(),
variantCycle: () => promptInputRef.current?.cycleVariant(),
favoriteCycle: () => promptInputRef.current?.cycleFavoriteModel(),
submit: () => document.querySelector<HTMLButtonElement>("[data-submit-prompt]")?.click(),
abort: isSessionActive ? handleInterruptSession : undefined,
clearPrompt: handleClearPrompt,