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(realtime): import importlib before using it in the local-server launch

rubenluetke10-beepfe5afe66b216
diff --git a/jarvis/plugins/realtime/openai_realtime.py b/jarvis/plugins/realtime/openai_realtime.py
index 4ee53b23a0..2e8addf805 100644
--- a/jarvis/plugins/realtime/openai_realtime.py
+++ b/jarvis/plugins/realtime/openai_realtime.py
@@ -1481,6 +1481,7 @@ class LocalRealtimeProvider:
if now - LocalRealtimeProvider._last_launch_at < _LOCAL_LAUNCH_MIN_INTERVAL_S:
return False
LocalRealtimeProvider._last_launch_at = now
+ import importlib # lazy (AP-26)
import subprocess # lazy (AP-26)
from pathlib import Path