tui: add keyboard shortcuts to cycle through recently used models

Users can now press F2 to cycle forward and Shift+F2 to cycle backward through their recently used models, making it faster to switch between commonly used AI models without opening the model selection dialog.
This commit is contained in:
Dax Raad 2025-10-31 19:42:27 -04:00
commit d4cb47eadc
5 changed files with 75 additions and 10 deletions

View file

@ -114,6 +114,14 @@ export type KeybindsConfig = {
* List available models
*/
model_list?: string
/**
* Next recently used model
*/
model_cycle_recent?: string
/**
* Previous recently used model
*/
model_cycle_recent_reverse?: string
/**
* List available commands
*/