fix(app): model selection persist by session (#17348)

This commit is contained in:
Adam 2026-03-13 11:05:08 -05:00 committed by GitHub
parent 5c7088338c
commit 4ad8116ce3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 981 additions and 452 deletions

View file

@ -351,7 +351,7 @@ export const useSessionCommands = (actions: SessionCommandContext) => {
description: language.t("command.model.choose.description"),
keybind: "mod+'",
slash: "model",
onSelect: () => dialog.show(() => <DialogSelectModel />),
onSelect: () => dialog.show(() => <DialogSelectModel model={local.model} />),
}),
mcpCommand({
id: "mcp.toggle",