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(agents): stop showing placeholder rationales as the model's thoughts

rubenluetke10-beepae867d3ae012
diff --git a/jarvis/mcp/jarvis_tools_server.py b/jarvis/mcp/jarvis_tools_server.py
index f6e2b21485..75dfce2cb1 100644
--- a/jarvis/mcp/jarvis_tools_server.py
+++ b/jarvis/mcp/jarvis_tools_server.py
@@ -266,7 +266,6 @@ def build_server() -> Any:
trace_id=trace_id,
origin=CHAT_ORIGIN,
user_utterance=turn.user_text if turn else "",
- rationale="agent chat tool call",
config_snapshot=approval_snapshot(),
)
result = await gateway.execute(name, dict(arguments or {}), request)
diff --git a/jarvis/missions/workers/worker_tool_broker.py b/jarvis/missions/workers/worker_tool_broker.py
index b81108c05d..5fba68ad17 100644
--- a/jarvis/missions/workers/worker_tool_broker.py
+++ b/jarvis/missions/workers/worker_tool_broker.py
@@ -384,7 +384,6 @@ class _BrokerScope:
trace_id=trace_id,
origin="mission_worker",
user_utterance=self.task_text,
- rationale="Mission worker requested a supervisor-granted tool.",
mission_id=self.mission_id,
worker_id=self.worker_id,
config_snapshot={
diff --git a/jarvis/realtime/tools.py b/jarvis/realtime/tools.py
index d6f6f11da4..cb83a0101d 100644
--- a/jarvis/realtime/tools.py
+++ b/jarvis/realtime/tools.py
@@ -935,7 +935,6 @@ class RealtimeToolBridge:
trace_id=trace_id,
origin="realtime",
user_utterance=self._last_user_text,
- rationale="Realtime model requested an available Jarvis tool.",
config_snapshot={
"output_language": self._language,
"voice_confirm": True,
@@ -952,7 +951,6 @@ class RealtimeToolBridge:
"voice_confirm": True,
},
trace_id=trace_id,
- rationale="Realtime model requested an available Jarvis tool.",
)
async def _execute_confirmed(self, trace_id: UUID) -> Any: