1 parent d815420 commit 2243304Copy full SHA for 2243304
1 file changed
packages/opencode/src/cli/cmd/tui/app.tsx
@@ -121,7 +121,6 @@ async function getTerminalBackgroundColor(): Promise<"dark" | "light"> {
121
}
122
123
import type { EventSource } from "./context/sdk"
124
-import { DialogVariant } from "./component/dialog-variant"
125
126
function rendererConfig(_config: TuiConfig.Info): CliRendererConfig {
127
return {
@@ -581,12 +580,12 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
581
580
},
582
583
{
584
- title: "Switch model variant",
+ title: "Variant cycle",
585
value: "variant.cycle",
586
keybind: "variant_cycle",
587
category: "Agent",
588
onSelect: () => {
589
- dialog.replace(() => <DialogVariant />)
+ local.model.variant.cycle()
590
591
592
0 commit comments