Skip to content

The agent that grows with you

Merge branch 'main' into feat/relay-slack-parity

Ben Barclaya1a1bee5c235
diff --cc gateway/relay/adapter.py
index 59b63e66fe2,0707bded6a7..af029700877
--- a/gateway/relay/adapter.py
+++ b/gateway/relay/adapter.py
@@@ -1108,15 -1637,7 +1679,17 @@@ class RelayAdapter(BasePlatformAdapter)
"chat_id": chat_id,
"content": content,
"reply_to": reply_to,
- "metadata": self._with_scope(chat_id, _sfp_metadata),
+ # format_hints on the explicit-platform lane too: this is the
+ # scheduled/cron delivery path — the in_channel brief itself —
+ # and it must render blocks exactly like an interactive send.
++ # Stamps _sfp_metadata (the interim-marker-stripped copy, per
++ # the seal path above), composing both sides of the merge.
+ "metadata": self._with_scope(
+ chat_id,
+ self._with_format_hints_for_platform(
- str(platform_value), metadata
++ str(platform_value), _sfp_metadata
+ ),
+ ),
},
platform=str(platform_value),
)