Skip to content

The agent that grows with you

fix(tui_gateway): relay reply says queued, not delivered, for a sibling-process Bot Chat

teknium1679d08511f2b
diff --git a/tui_gateway/methods_bot_relay.py b/tui_gateway/methods_bot_relay.py
index cbec598501c..1a87383be26 100644
--- a/tui_gateway/methods_bot_relay.py
+++ b/tui_gateway/methods_bot_relay.py
@@ -123,7 +123,9 @@ def _(rid, params: dict, _root=_relay_root, _run=_run_delivery) -> dict:
owner = find_canonical_live_owner(owner_home)
if owner is not None:
deliver_to_live_owner(owner_home, owner, message, author=author)
- reply = f"Delivered into @{resolved}'s open Bot Chat; the reply will appear there."
+ # The owner's poller admits the mailbox record at its next idle boundary; this
+ # process only queued it, so say so (the in-process branch above really submitted).
+ reply = f"Queued for @{resolved}'s open Bot Chat; it runs as that chat's next turn and the reply will appear there."
return _ok(rid, {"reply": reply})
def _detail(p) -> str: