diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 62b16cd7f..ab12af752 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1291,8 +1291,7 @@ export const PromptInput: Component = (props) => {
0.5 ? "auto" : "none", }} @@ -1321,6 +1320,99 @@ 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" - /> -