Skip to content

Commit 32fd860

Browse files
committed
fix: send resolved variant to server, not raw sentinel
1 parent f186b3c commit 32fd860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ export function Prompt(props: PromptProps) {
632632

633633
// Capture mode before it gets reset
634634
const currentMode = store.mode
635-
const variant = local.model.variant.selected()
635+
const variant = local.model.variant.current()
636636

637637
if (store.mode === "shell") {
638638
sdk.client.session.shell({

0 commit comments

Comments
 (0)