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.

style(setup): silence optional faster-whisper import for mypy

Ruben Lütke5f032363e34b
diff --git a/jarvis/setup/prefetch.py b/jarvis/setup/prefetch.py
index 98f8c778a7..79101e718b 100644
--- a/jarvis/setup/prefetch.py
+++ b/jarvis/setup/prefetch.py
@@ -57,7 +57,7 @@ def _whisper_models_needed() -> list[str]:
def _download_whisper_model(name: str) -> None:
"""Fetch one faster-whisper model into the standard HuggingFace cache —
the exact cache ``WhisperModel(name)`` resolves at runtime."""
- from faster_whisper.utils import download_model
+ from faster_whisper.utils import download_model # type: ignore[import-not-found]
download_model(name)