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-neuron-tweaker 39e0d1477): P11 additions into integ/309-r2

purpleaedb23d40e2b
diff --cc src/components/models/DiscoverModels.tsx
index 184af7fb,d03495d8..97feb7b3
--- a/src/components/models/DiscoverModels.tsx
+++ b/src/components/models/DiscoverModels.tsx
@@@ -705,9 -689,19 +712,21 @@@ export function DiscoverModels({ catego
return `Download failed: ${msg}`
}
+ const targetInput = {
+ activeChatModel,
+ openai: providers.openai,
+ ollamaEnabled: !!providers.ollama?.enabled,
+ }
+ const followTarget = resolveTextDownloadTarget(targetInput)
+ const shownTarget = chosenTextDownloadTarget(targetInput, targetChoice)
+ const targetName = (t: typeof shownTarget) => textDownloadTargetLabel(t, providers.openai?.name)
+ /** What a tile's Get says it fills. An entry only Ollama can pull goes
+ * there whatever was chosen (handleTextDownload). */
+ const getTargetOf = (m: DiscoverModel) => (m.ollamaModel ? 'Ollama' : targetName(shownTarget))
+
- const handleTextDownload = async (model: DiscoverModel) => {
+ // `confirmed`: the user already said yes to the size and the parts in the
+ // Hugging Face link dialog, so a split set starts without a second question.
+ const handleTextDownload = async (model: DiscoverModel, opts: { confirmed?: boolean } = {}) => {
// Bug Y/a v2.5.0 — a user Discord. Pre-v2.5.0 we picked the
// download backend by "whichever is enabled" with LM Studio winning when
// both were on. That decoupled the download path from the active chat