diff --git a/.changeset/model-switcher-full-name-tooltip.md b/.changeset/model-switcher-full-name-tooltip.md new file mode 100644 index 00000000..04d78353 --- /dev/null +++ b/.changeset/model-switcher-full-name-tooltip.md @@ -0,0 +1,5 @@ +--- +"@open-codesign/desktop": patch +--- + +Show the full model id as a hover tooltip on each option in the model switcher dropdown, so long BYOK model names (which include the provider prefix) are fully readable. diff --git a/apps/desktop/src/renderer/src/components/ModelSwitcher.tsx b/apps/desktop/src/renderer/src/components/ModelSwitcher.tsx index 8f72f400..d899f8b1 100644 --- a/apps/desktop/src/renderer/src/components/ModelSwitcher.tsx +++ b/apps/desktop/src/renderer/src/components/ModelSwitcher.tsx @@ -304,6 +304,7 @@ export function ModelSwitcher({ variant }: ModelSwitcherProps) { type="button" role="option" aria-selected={isActive} + title={m} onClick={() => void switchModel(m)} className={`relative w-full text-left px-[var(--space-3)] py-[var(--space-1_5)] text-[12px] [overflow-wrap:anywhere] transition-colors ${ isActive