summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-10-31 19:42:27 -0400
committerDax Raad <[email protected]>2025-10-31 19:42:41 -0400
commitd4cb47eadc515646f9f42679100a075ff9c9d458 (patch)
treec137ade7e0c734698f7ed65b66b9d1fa216e2257 /packages/sdk
parent261ff416a9fb8938adbb36d4de9b6be782fa5682 (diff)
downloadopencode-d4cb47eadc515646f9f42679100a075ff9c9d458.tar.gz
opencode-d4cb47eadc515646f9f42679100a075ff9c9d458.zip
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.
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index 994fa8244..63673e762 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -115,6 +115,14 @@ export type KeybindsConfig = {
*/
model_list?: string
/**
+ * Next recently used model
+ */
+ model_cycle_recent?: string
+ /**
+ * Previous recently used model
+ */
+ model_cycle_recent_reverse?: string
+ /**
* List available commands
*/
command_list?: string