We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac2fbb commit 2b86b36Copy full SHA for 2b86b36
1 file changed
packages/opencode/src/cli/cmd/tui/app.tsx
@@ -121,6 +121,7 @@ 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 {
@@ -580,12 +581,12 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
580
581
},
582
583
{
- title: "Variant cycle",
584
+ title: "Switch model variant",
585
value: "variant.cycle",
586
keybind: "variant_cycle",
587
category: "Agent",
588
onSelect: () => {
- local.model.variant.cycle()
589
+ dialog.replace(() => <DialogVariant />)
590
591
592
0 commit comments