Skip to content

Commit 2243304

Browse files
committed
Revert "feat: open dialog for model variant selection instead of cycling (anomalyco#19534)"
This reverts commit 2b86b36.
1 parent d815420 commit 2243304

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/opencode/src/cli/cmd/tui

packages/opencode/src/cli/cmd/tui/app.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ async function getTerminalBackgroundColor(): Promise<"dark" | "light"> {
121121
}
122122

123123
import type { EventSource } from "./context/sdk"
124-
import { DialogVariant } from "./component/dialog-variant"
125124

126125
function rendererConfig(_config: TuiConfig.Info): CliRendererConfig {
127126
return {
@@ -581,12 +580,12 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
581580
},
582581
},
583582
{
584-
title: "Switch model variant",
583+
title: "Variant cycle",
585584
value: "variant.cycle",
586585
keybind: "variant_cycle",
587586
category: "Agent",
588587
onSelect: () => {
589-
dialog.replace(() => <DialogVariant />)
588+
local.model.variant.cycle()
590589
},
591590
},
592591
{

0 commit comments

Comments
 (0)