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(society): treat an agent without account_id as having no pinned access

rubenluetke10-beepe0f392630fba
diff --git a/jarvis/society/seat_brain.py b/jarvis/society/seat_brain.py
index 01d88e6f7b..5e6836f23b 100644
--- a/jarvis/society/seat_brain.py
+++ b/jarvis/society/seat_brain.py
@@ -110,7 +110,7 @@ def agent_seat(config: Any, agent: Any) -> Seat:
raise SeatUnavailable(str(exc) or "no provider can run this agent's chat") from None
if not provider:
raise SeatUnavailable("this agent's chat names no provider")
- account = agent.account_id if provider == agent.provider else ""
+ account = getattr(agent, "account_id", "") if provider == agent.provider else ""
return Seat(
provider, model or "", resolve_runner(provider, surface="society", account_id=account)
)