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(agent-chat): the timeline names the effort the turn runs with, not the session's stale pick

rubenluetke10-beepfd1ba6a9f630
diff --git a/jarvis/agent_chat/service.py b/jarvis/agent_chat/service.py
index 45a68980e0..273a039657 100644
--- a/jarvis/agent_chat/service.py
+++ b/jarvis/agent_chat/service.py
@@ -235,7 +235,13 @@ class AgentChatService:
"turn_id": turn_id,
"provider": session.provider,
"model": session.model,
- "effort": normalize_effort(session.provider, session.effort),
+ # The effort the turn RUNS with: a surface may ask for more
+ # than the session's own pick (the setup helper does), and
+ # the timeline must not report the stale one.
+ "effort": normalize_effort(
+ session.provider,
+ kit_for(session.surface).effort or session.effort,
+ ),
"runner": runner,
"surface": session.surface,
},