diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index ab12af752..62b16cd7f 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1291,7 +1291,8 @@ export const PromptInput: Component = (props) => {
0.5 ? "auto" : "none", }} @@ -1320,99 +1321,6 @@ export const PromptInput: Component = (props) => { - - 0} - fallback={ - - - - } - > - - - - - - - {local.model.current()?.name ?? language.t("dialog.model.select.title")} - - - - - - - - (x === "default" ? language.t("common.default") : x)} + onSelect={(x) => local.model.variant.set(x === "default" ? undefined : x)} + class="capitalize max-w-[160px]" + valueClass="truncate text-13-regular" + triggerStyle={{ + height: "28px", + opacity: buttonsSpring(), + transform: `scale(${0.95 + buttonsSpring() * 0.05})`, + filter: `blur(${(1 - buttonsSpring()) * 2}px)`, + "pointer-events": buttonsSpring() > 0.5 ? "auto" : "none", + }} + variant="ghost" + /> +