Skip to content

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.

fix(stt): keep the Groq comment from starting a line with `# type:`

Harald95e90f2fbef8
diff --git a/jarvis/plugins/stt/groq_api.py b/jarvis/plugins/stt/groq_api.py
index 635e8c01cb..589c620f50 100644
--- a/jarvis/plugins/stt/groq_api.py
+++ b/jarvis/plugins/stt/groq_api.py
@@ -299,12 +299,14 @@ class GroqWhisperAPI:
# other one, and what the shared
# ``jarvis.plugins.stt.errors.STTHTTPError`` reproduces for the
# plugins that used to flatten every status into a bare
- # RuntimeError. This plugin deliberately does NOT raise that shared
- # type: it is the one STT plugin held to a total ``jarvis.*``-import
- # ban outside its own plugin package (CLAUDE.md §5, pinned by
- # tests/contract/test_stt_protocol.py). It already emits the
- # classifiable shape, so there is nothing to gain and a purity
- # contract to lose. Do not "unify" this line.
+ # RuntimeError. This plugin deliberately does NOT raise that
+ # shared type — it is the one STT plugin held to a total
+ # ``jarvis.*``-import ban outside its own plugin package
+ # (CLAUDE.md §5, pinned by tests/contract/test_stt_protocol.py).
+ # It already emits the classifiable shape, so there is nothing to
+ # gain and a purity contract to lose. Do not "unify" this line.
+ # (Never start a comment line here with ``# type:`` — mypy reads
+ # that prefix as a type comment and the file stops parsing.)
response.raise_for_status()
transcript = _payload_to_transcript(response.json())
self._last_used_model = model