|
|
@@ -1563,10 +1563,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|
|
<TooltipKeybind placement="top" title="Choose model" keybind={command.keybind("model.choose")}>
|
|
|
<Button as="div" variant="ghost" onClick={() => dialog.show(() => <DialogSelectModelUnpaid />)}>
|
|
|
<Show when={local.model.current()?.provider?.id}>
|
|
|
- <ProviderIcon
|
|
|
- id={local.model.current()!.provider.id as IconName}
|
|
|
- class="size-4 shrink-0"
|
|
|
- />
|
|
|
+ <ProviderIcon id={local.model.current()!.provider.id as IconName} class="size-4 shrink-0" />
|
|
|
</Show>
|
|
|
{local.model.current()?.name ?? "Select model"}
|
|
|
<Icon name="chevron-down" size="small" />
|
|
|
@@ -1578,10 +1575,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|
|
<TooltipKeybind placement="top" title="Choose model" keybind={command.keybind("model.choose")}>
|
|
|
<Button as="div" variant="ghost">
|
|
|
<Show when={local.model.current()?.provider?.id}>
|
|
|
- <ProviderIcon
|
|
|
- id={local.model.current()!.provider.id as IconName}
|
|
|
- class="size-4 shrink-0"
|
|
|
- />
|
|
|
+ <ProviderIcon id={local.model.current()!.provider.id as IconName} class="size-4 shrink-0" />
|
|
|
</Show>
|
|
|
{local.model.current()?.name ?? "Select model"}
|
|
|
<Icon name="chevron-down" size="small" />
|