feat: add reply tags and replyToMode

This commit is contained in:
Peter Steinberger committed 2026-01-02 23:18:41 +01:00
1 parent a9ff03acaf
commit 2c92ccd66e
19 files changed
+353 -27

No files matched your search

+2 -1
View File
@@ -921,7 +921,8 @@ export async function monitorWebProvider(
const formatReplyContext = (msg: WebInboundMsg) => {
if (!msg.replyToBody) return null;
const sender = msg.replyToSender ?? "unknown sender";
return `[Replying to ${sender}]\n${msg.replyToBody}\n[/Replying]`;
const idPart = msg.replyToId ? ` id:${msg.replyToId}` : "";
return `[Replying to ${sender}${idPart}]\n${msg.replyToBody}\n[/Replying]`;
};
const buildLine = (msg: WebInboundMsg) => {