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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(models): No-refusals-Marke im Chat-Picker mit Icon findbar
purple0a212cdc6d03
diff --git a/src/api/providers/ollama-provider.ts b/src/api/providers/ollama-provider.tsindex 9389f186..43fc3e6f 100644--- a/src/api/providers/ollama-provider.ts+++ b/src/api/providers/ollama-provider.ts@@ -413,6 +413,18 @@ export class OllamaProvider implements ProviderClient {// and not `true` when the field is absent. openai-provider.ts already// works exactly this way.supportsTools: Array.isArray(m.capabilities) ? m.capabilities.includes('tools') : undefined,+ // K12 (3.0.1): no `unfiltered` here, on purpose but with a real gap+ // behind it. The "No refusals" mark (ModelRowMarks.tsx) only fires for+ // 'full', and only the cloud catalog path (openai-provider.ts+ // listModels) ever sets that field, because it is the only one backed+ // by a real measurement. Ollama's own /api/tags carries nothing like+ // it, so a locally installed abliterated/uncensored GGUF — several of+ // which this app's own Discover catalog tags 'Unfiltered' — can never+ // show the mark, even though it deserves it. Rather than guess from+ // the model name (the house rule this app is built against), the mark+ // stays measured-only and simply absent here. Closing this needs a+ // real curated measurement feeding local models too, not a heuristic+ // bolted onto this method.}))}diff --git a/src/components/models/ModelRowMarks.tsx b/src/components/models/ModelRowMarks.tsxindex 146840df..dc1671ae 100644--- a/src/components/models/ModelRowMarks.tsx+++ b/src/components/models/ModelRowMarks.tsx@@ -1,3 +1,4 @@+import { Unlock } from 'lucide-react'import type { CloudModel } from '../../types/models'import { FLASH_MARK_LABEL, flashMarkTitle, useFlashEntitlement } from '../../lib/flash-entitlement'@@ -26,11 +27,19 @@ export function ModelRowMarks({ model }: { model: { flash?: CloudModel['flash'];return (<>{model.unfiltered === 'full' && (+ // K12 (3.0.1): unbeantwortete Discord-Meldung, die Marke war nicht+ // auffindbar. Sie stand als reiner Fliesstext in derselben Groesse+ // wie jede andere Kleinschrift der Zeile, ohne Icon, ohne Gewicht —+ // im Sammelbild der Liste ging sie unter. Bleibt auf derselben+ // Stufe der Typo-Leiter (t-micro setzt NUR die Groesse, siehe+ // index.css), bekommt aber ein Icon und Fettung dazu, beides+ // Tailwind-Utilities, die t-micro nicht ueberschreibt.<span- className="t-micro text-purple-600 dark:text-purple-300"+ className="t-micro font-semibold text-purple-600 dark:text-purple-300 inline-flex items-center gap-0.5"title="Measured: this model answers without refusing. Your account's content policy still applies."data-mark="unfiltered">+ <Unlock size={9} className="shrink-0" aria-hidden="true" />No refusals</span>)}diff --git a/src/components/models/__tests__/model-row-marks.test.tsx b/src/components/models/__tests__/model-row-marks.test.tsxindex 2908df60..c1b20a88 100644--- a/src/components/models/__tests__/model-row-marks.test.tsx+++ b/src/components/models/__tests__/model-row-marks.test.tsx@@ -33,6 +33,17 @@ describe('ModelRowMarks', () => {expect(screen.getByText('No refusals')).toBeTruthy()})+ // K12 (3.0.1): the Discord report was "can't find it", not "it's wrong" —+ // plain text at the smallest size on a crowded row, no icon at all. An+ // icon is the cheapest signal that survives a quick scan of the list; the+ // text itself and the typography ladder step stay unchanged (see the+ // comment on the mark in ModelRowMarks.tsx).+ it('carries a findable icon, not just plain text (K12)', () => {+ render(<ModelRowMarks model={{ unfiltered: 'full' }} />)+ const mark = screen.getByText('No refusals').closest('[data-mark="unfiltered"]')+ expect(mark?.querySelector('svg')).toBeTruthy()+ })+it('stays silent on partial and on a model with nothing measured', () => {for (const unfiltered of ['partial', undefined] as const) {cleanup()