From 78fc321cd30fa43a8dc06acb0c11d638bb9310b2 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sat, 17 Oct 2026 11:52:23 +0200 Subject: [PATCH] launch: the Pictures screen says plainly that this Terminal cannot set up the picture reader yet --- strata_cli/launch/screens.py | 8 ++++++-- strata_cli/launch/settings.py | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/strata_cli/launch/screens.py b/strata_cli/launch/screens.py index 14a2770e..84135228 100644 --- a/strata_cli/launch/screens.py +++ b/strata_cli/launch/screens.py @@ -754,7 +754,7 @@ class PicturesScreen(Base): self.supported = True if r is None else r.images items = [Item(["No pictures"], key="off")] if self.supported: - items.append(Item(["Yes, read pictures"], key="on")) + items.append(Item(["Yes, read pictures" + ("" if S.TERMINAL_SETS_UP_PICTURES else " (this Terminal cannot set it up yet)")], key="on")) else: items.append(Item([Cell("Yes, read pictures: not available for this model yet", MUTE)], key="on", enabled=False)) sel = 1 if s.vision != "off" and self.supported else 0 @@ -768,7 +768,11 @@ class PicturesScreen(Base): if vram < 24 else "a 0.9 GB download, and about 1.4 GB of graphics memory kept free for the picture reader (text is a few % slower).") if not self.supported: return Text("This model cannot read pictures yet, so pictures stay off. Pick another model if you need them.", style=WARN) - return Text("Pictures add " + extra + " Say No if you only chat in text.", style=MUTE) + out = Text("Pictures add " + extra + " Say No if you only chat in text.", style=MUTE) + if not S.TERMINAL_SETS_UP_PICTURES: + out.append("\nHeads up: the model installer in this Terminal does not set up the picture reader yet (it is not part of the first release), " + "so the model will answer text only. Your choice is saved for when it does.", style=WARN) + return out def commit(self) -> None: self.ctx.settings.vision = self.menu().current.key diff --git a/strata_cli/launch/settings.py b/strata_cli/launch/settings.py index 87f33e04..d35fa6fd 100644 --- a/strata_cli/launch/settings.py +++ b/strata_cli/launch/settings.py @@ -25,6 +25,7 @@ ACCESS_WORDS = {"local": "This computer only", "lan": "My local network", "cloud "tailscale": "Tailscale"} TUNE_MODES = ("quick", "thorough", "skip") VISION_MODES = ("off", "on", "gpu", "cpu") +TERMINAL_SETS_UP_PICTURES = False # setup.py in control mode says "images are not part of the app's first release": flip when it does KV_MODES = ("int8", "q4_0", "k8v4", "fp16") DEFAULT_PORT = 8080