diff --git a/src/tui/tui-command-handlers.ts b/src/tui/tui-command-handlers.ts index a14172809..3c77cfab3 100644 --- a/src/tui/tui-command-handlers.ts +++ b/src/tui/tui-command-handlers.ts @@ -278,6 +278,19 @@ export function createCommandHandlers(context: CommandHandlerContext) { case "model": if (!args) { await openModelSelector(); + } else if (args === "status") { + // Show current model information + const provider = state.sessionInfo.modelProvider ?? "unknown"; + const model = state.sessionInfo.model ?? "unknown"; + const current = `${provider}/${model}`; + chatLog.addSystem( + [`Current: ${current}`, "", "Switch: /model ", "Browse: /models"].join( + "\n", + ), + ); + } else if (args === "list") { + // /model list is an alias for /models + await openModelSelector(); } else { try { await client.patchSession({