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): give the delegate bridge line the speak-request opener too

rubenluetke10-beep6d284a573ef6
diff --git a/jarvis/realtime/session.py b/jarvis/realtime/session.py
index 6f86153142..a74cadc36f 100644
--- a/jarvis/realtime/session.py
+++ b/jarvis/realtime/session.py
@@ -765,6 +765,7 @@ def _delegate_bridge_prompt(*, language: str, exact_text: str) -> str:
"""
language_name = _LANGUAGE_NAMES.get(language, "the conversation language")
return (
+ f"{SPEAK_REQUEST_OPENER} "
"The Jarvis orchestrator is still executing the user's request and "
f"has no result yet. Tell the user, in {language_name}, that you are "
"still working on it, by saying exactly this sentence and nothing "
diff --git a/tests/unit/realtime/test_speak_request_parity.py b/tests/unit/realtime/test_speak_request_parity.py
index b1c1ce1a22..4b93ebd0f5 100644
--- a/tests/unit/realtime/test_speak_request_parity.py
+++ b/tests/unit/realtime/test_speak_request_parity.py
@@ -36,6 +36,12 @@ def test_every_speak_request_prompt_opens_with_the_exception_sentence() -> None:
"It failed.", language="en", success=False, late=True
),
session_mod._direct_tool_result_retry_prompt(language="en"),
+ # Unreachable on the Codex adapter today (the bridge line prefers
+ # send_speech there), but the same silence-rule class the moment a
+ # transport lacks that preference — the reviewer's latent-flank note.
+ session_mod._delegate_bridge_prompt(
+ language="en", exact_text="One moment please."
+ ),
)
for prompt in prompts:
assert prompt.startswith(opener)