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.

chore(society): say why the two quiet handlers in seat_brain stay quiet

rubenluetke10-beep555478428162
diff --git a/jarvis/society/seat_brain.py b/jarvis/society/seat_brain.py
index 7fd6892b35..7c0904df61 100644
--- a/jarvis/society/seat_brain.py
+++ b/jarvis/society/seat_brain.py
@@ -176,7 +176,7 @@ def _build(config: Any, seat: Seat, caller: str) -> SeatBrain:
model = _chat_default_model(config, seat.provider)
try:
inner = resolve_browser_brain(config, seat.provider, model, runner=seat.runner)
- except LookupError:
+ except LookupError: # no brain plugin: a CLI adapter, or SeatUnavailable
inner = _cli_adapter(seat, model)
except Exception as exc: # noqa: BLE001 - reported by type; the text may be a provider's
raise SeatUnavailable(
@@ -264,7 +264,7 @@ class SeatBrain:
with self._scope():
try:
delta = await iterator.__anext__()
- except StopAsyncIteration:
+ except StopAsyncIteration: # the seat's stream ended normally
return
yield delta
except Exception as exc: # noqa: BLE001 - re-raised without the provider's text