Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

merge(feat/309-n1-lfm3 c6c2d3b89): N1 round 2 into integ/309-r2

purpled0e36d345df6
diff --cc src/components/models/DiscoverModels.tsx
index 97feb7b3,0d7ecd9f..6df443a7
--- a/src/components/models/DiscoverModels.tsx
+++ b/src/components/models/DiscoverModels.tsx
@@@ -40,10 -41,10 +41,11 @@@ import { findInstalledForDiscoverModel
import { isBuiltinEngineEntry } from '../../lib/lmstudio-match'
import { ensureLuEngineIsChatProvider, announceLuEngineSwitch } from '../../api/lu-engine-switch'
import { LuEngineSwitchBar } from '../chat/LuEngineSwitchBar'
-import { ollamaOnlyDownloadBlock, resolveTextDownloadTarget } from '../../lib/text-download-target'
+import { chosenTextDownloadTarget, ollamaOnlyDownloadBlock, resolveTextDownloadTarget, textDownloadTargetLabel } from '../../lib/text-download-target'
+import { useUIStore } from '../../stores/uiStore'
import { mayBeStartHerePick } from '../../lib/start-here-picks'
import { modelInfoTitle } from '../../lib/model-info-title'
+ import { partInputWord } from '../../lib/image-part'
import { hfUrlToOllamaRef, hfUrlToLmStudioSubdir, parseHfUrl, isShardedOrIncompatibleGguf } from '../../lib/hf-to-provider'
import { HINWEIS_TEXT } from '../../lib/hinweis'
import { Modal } from '../ui/Modal'
diff --cc src/components/models/ModelTiles.tsx
index 735f6d0c,6260ae56..05d84b8e
--- a/src/components/models/ModelTiles.tsx
+++ b/src/components/models/ModelTiles.tsx
@@@ -468,15 -464,13 +469,15 @@@ export function useModelTile({ variants
// What the Get button says it fetches. With an image part that comes along
// the two halves are named, so the sum on the tile is not a surprise.
- const downloadTitle = !selSize
+ const target = getTarget?.(sel) ?? null
+ const downloadWhat = !selSize
? 'Download'
: partComes
- ? `Download ${selSize} GB (model ${sel.sizeGB} GB, image input ${gbOf(sel.mmprojBytes)} GB)`
+ ? `Download ${selSize} GB (model ${sel.sizeGB} GB, ${partInputWord(sel)} ${gbOf(sel.mmprojBytes)} GB)`
: `Download ${selSize} GB`
+ const downloadTitle = target ? `${downloadWhat} to ${target}` : downloadWhat
- return { pickerOpen, setPickerOpen, setChosen, pickerRef, variantListRef, variantList, sel, groupTitle, dl, downloading, fit, action, sizeOf, selSize, downloadTitle }
+ return { target, pickerOpen, setPickerOpen, setChosen, pickerRef, variantListRef, variantList, sel, groupTitle, dl, downloading, fit, action, sizeOf, selSize, downloadTitle }
}
export function ModelTile(props: ModelTileProps) {