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
fix(providers): keep the composer health sweep off the voice key
rubenluetke10-beepae5a3da738bd
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.pyindex 45353c6ca4..205ce1eca6 100644--- a/jarvis/ui/web/provider_routes.py+++ b/jarvis/ui/web/provider_routes.py@@ -1591,6 +1591,12 @@ async def provider_health(cfg: Any, provider_id: str, *, probe: bool = True) ->detail=f"{provider_id}: not a known provider",subject_id=provider_id,)+ # The realtime voice key is probed by the Realtime tab only: a composer+ # sweep that spent it again on every open drained it (mandate 2026-09-29).+ from jarvis.brain.voice_key import bills_voice_key++ if bills_voice_key(cfg, provider_id):+ probe = Falsereturn await _tier_section_health(cfg, spec, probe=probe)diff --git a/tests/unit/brain/test_section_health.py b/tests/unit/brain/test_section_health.pyindex 6e63fae334..7c4325fbae 100644--- a/tests/unit/brain/test_section_health.py+++ b/tests/unit/brain/test_section_health.py@@ -393,3 +393,24 @@ def test_passive_health_polls_reuse_the_cache_for_minutes() -> None:from jarvis.ui.web import provider_routes as prassert pr._SECTION_HEALTH_TTL_S >= 15 * 60+++async def test_composer_health_does_not_spend_the_voice_key(monkeypatch) -> None:+ """The agent-chat composer sweeps every API row; the GPT-Live key must be+ reported from configuration, not probed on every sweep (2026-09-29)."""+ from jarvis.ui.web import provider_routes as pr++ probes: dict[str, bool] = {}++ async def _tier(cfg, spec, *, probe=True, **kwargs):+ probes[spec.id] = probe+ return pr.SectionHealth(status=sh.OK, reason="ok", subject_id=spec.id)++ monkeypatch.setattr(pr, "_tier_section_health", _tier)+ cfg = _gpt_live_config()++ await pr.provider_health(cfg, "openai", probe=True)+ await pr.provider_health(cfg, "grok", probe=True)++ assert probes == {"openai": False, "grok": True}