Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
feat(apikeys): add a "Not recommended" caution badge, flag NVIDIA NIM
Ruben Lütke88d7b9b07d66
diff --git a/jarvis/ui/web/frontend/src/hooks/useProviders.ts b/jarvis/ui/web/frontend/src/hooks/useProviders.tsindex 4df39d0c7a..b2ece09fc5 100644--- a/jarvis/ui/web/frontend/src/hooks/useProviders.ts+++ b/jarvis/ui/web/frontend/src/hooks/useProviders.ts@@ -51,6 +51,10 @@ export interface ProviderDescriptor {/** The model the recommendation points at (e.g. "gemini-3.5-flash"), shown as* an "empfohlen" marker in the model picker. null = provider-level only. */recommended_model?: string | null;+ /** Inverse of `recommended`: a short caution that renders a "Not recommended"+ * badge with this text as its tooltip (e.g. NVIDIA NIM's slow free tier).+ * Presentation hint only. null/absent = no caution. */+ caution?: string | null;/** Gemini's Vertex alternative; null for single-path providers. */alt_credential: AltCredential | null;/**diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex 942995640a..562e35934e 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -900,6 +900,7 @@"needs_key": "Erst API-Key speichern, dann aktivierbar","recommended": "Empfohlen","recommended_tooltip": "Empfohlenes Modell: {0}",+ "not_recommended": "Nicht empfohlen","health_needs_setup": "Einrichtung nötig","health_error": "Funktioniert nicht","health_ok": "Funktioniert",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex f7c83bb2bf..0d149424c6 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -900,6 +900,7 @@"needs_key": "First save API key, then activate","recommended": "Recommended","recommended_tooltip": "Recommended model: {0}",+ "not_recommended": "Not recommended","health_needs_setup": "Setup needed","health_error": "Not working","health_ok": "Working",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 133e05db71..d9203f6524 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -900,6 +900,7 @@"needs_key": "Primero guarda la clave API, luego se puede activar","recommended": "Recomendado","recommended_tooltip": "Modelo recomendado: {0}",+ "not_recommended": "No recomendado","health_needs_setup": "Falta configurar","health_error": "No funciona","health_ok": "Funciona",diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsxindex c606eeec0f..07b70164c2 100644--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx@@ -942,6 +942,14 @@ function ProviderCard({{t("apikeys_view.recommended")}</span>)}+ {descriptor.caution && (+ <span+ className="rounded-full border border-amber-500/40 bg-amber-500/10 px-2 py-0.5 text-[10px] uppercase tracking-wider text-amber-600 dark:text-amber-400"+ title={descriptor.caution}+ >+ {t("apikeys_view.not_recommended")}+ </span>+ )}</div><p className="mt-0.5 text-[11px] text-muted-foreground"><code className="font-mono">{descriptor.id}</code>diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.pyindex 96bea536ad..02a118295f 100644--- a/jarvis/ui/web/provider_routes.py+++ b/jarvis/ui/web/provider_routes.py@@ -352,6 +352,9 @@ def _spec_to_payload(# points at. Presentation only — never gates behavior (AP-21)."recommended": spec.recommended,"recommended_model": spec.recommended_model,+ # Inverse of recommended: a "Not recommended" caution badge + tooltip+ # (e.g. NVIDIA NIM's slow free tier). Presentation only (AP-21).+ "caution": spec.caution,# Gemini's AI-Studio-vs-Vertex split; None for single-path providers."alt_credential": ({diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.pyindex 05e31da64e..57a145a361 100644--- a/jarvis/ui/web/provider_spec.py+++ b/jarvis/ui/web/provider_spec.py@@ -72,6 +72,12 @@ class ProviderSpec:# surfaced as an "empfohlen" marker in the model picker. ``None`` = the badge# stands for the provider as a whole with no model preference.recommended_model: str | None = None+ # The inverse of ``recommended``: a short caution shown as a "Not recommended"+ # badge (with this text as its tooltip) so the user is warned BEFORE picking a+ # provider that works but has a real drawback. Presentation-only, never gates+ # behavior (AP-21). Set on NVIDIA NIM: the free dev tier's 10-30s+ TTFB makes+ # it sluggish as a main/voice brain. ``None`` = no caution.+ caution: str | None = Nonedef provider_billing(spec: ProviderSpec) -> Billing:@@ -183,6 +189,10 @@ PROVIDERS: tuple[ProviderSpec, ...] = ("NVIDIA-hosted models (Nemotron, Llama, DeepSeek, Qwen); free dev tier ""available, then billed per token on your NVIDIA account."),+ caution=(+ "The free NIM tier is slow — 10-30s to the first response. Fine for "+ "background tasks, sluggish as your main or voice brain."+ ),),# ── Brain: Google subscription via the official Antigravity/Gemini CLI ──# OAuth-only (no API-key slot): we drive the official ``agy``/``gemini`` CLI@@ -240,20 +250,24 @@ PROVIDERS: tuple[ProviderSpec, ...] = (# shares with the (now TTS-only) xAI key remains.# Ollama-Provider 2026-04-21 entfernt — reine API-Provider-Chain.# ── TTS ───────────────────────────────────────────────────────────────- # Inworld is the recommended premium default (arena-#1 realtime, mid-2026),- # so it leads the Voice-Output card list.+ # Voice-Output cards render in this tuple order. OpenRouter leads (one key+ # reaches many vetted speech models); Inworld sits last as a premium+ # low-latency option. Inworld is a pipeline TTS voice, NOT a full-duplex+ # realtime provider (that tier needs a RealtimeProvider adapter) — the label+ # says "voice", never "realtime", so the two are not confused.ProviderSpec(- id="inworld",- label="Inworld (premium realtime)",+ id="openrouter-tts",+ label="OpenRouter (TTS)",tier="tts",auth_mode="api_key",- secret_keys=("inworld_api_key",),- dashboard_url="https://platform.inworld.ai/",+ secret_keys=("openrouter_api_key",),+ dashboard_url="https://openrouter.ai/keys",credential_help=(- "Inworld API key — copy it VERBATIM from platform.inworld.ai; it is "- "already base64, do not re-encode it. Premium multilingual realtime "- "voices (DE Josef/Johanna, EN Dennis/Ashley, ES Diego/Lupita). Billed "- "per character on your Inworld account."+ "Same OpenRouter API key as the OpenRouter brain (starts with "+ "sk-or-) — no extra key needed. One key reaches the vetted speech "+ "models (Gemini Flash TTS, Grok Voice, MAI-Voice, Voxtral). "+ "The model picker shows ONLY allowlisted speech models; each has its own "+ "voice list. Billed per token on your OpenRouter account."),),ProviderSpec(@@ -309,18 +323,17 @@ PROVIDERS: tuple[ProviderSpec, ...] = (),),ProviderSpec(- id="openrouter-tts",- label="OpenRouter (TTS)",+ id="inworld",+ label="Inworld (premium voice)",tier="tts",auth_mode="api_key",- secret_keys=("openrouter_api_key",),- dashboard_url="https://openrouter.ai/keys",+ secret_keys=("inworld_api_key",),+ dashboard_url="https://platform.inworld.ai/",credential_help=(- "Same OpenRouter API key as the OpenRouter brain (starts with "- "sk-or-) — no extra key needed. One key reaches the vetted speech "- "models (Gemini Flash TTS, Grok Voice, MAI-Voice, Voxtral). "- "The model picker shows ONLY allowlisted speech models; each has its own "- "voice list. Billed per token on your OpenRouter account."+ "Inworld API key — copy it VERBATIM from platform.inworld.ai; it is "+ "already base64, do not re-encode it. Premium multilingual "+ "low-latency voices (DE Josef/Johanna, EN Dennis/Ashley, ES "+ "Diego/Lupita). Billed per character on your Inworld account."),),# ── STT ───────────────────────────────────────────────────────────────diff --git a/tests/unit/brain/test_nvidia_provider_wiring.py b/tests/unit/brain/test_nvidia_provider_wiring.pyindex 8a890cd70c..c6d7780aa0 100644--- a/tests/unit/brain/test_nvidia_provider_wiring.py+++ b/tests/unit/brain/test_nvidia_provider_wiring.py@@ -62,6 +62,16 @@ def test_nvidia_provider_spec_matches_openrouter_shape() -> None:assert nv.brain_switchable is True+def test_nvidia_carries_a_not_recommended_caution() -> None:+ """The free NIM tier is slow (10-30s TTFB), so the card warns the user before+ they pick it. Presentation-only, the inverse of ``recommended`` — never gates+ behavior (AP-21)."""+ nv = get_spec("nvidia")+ assert nv.caution, "nvidia should carry a caution about the slow free tier"+ assert "slow" in nv.caution.lower()+ assert nv.recommended is False # a caution, not a recommendation++def test_nvidia_has_a_live_model_catalog() -> None:spec = catalog_spec("nvidia")assert spec is not None