fix: newline chunking across channels

This commit is contained in:
Peter Steinberger committed 2026-01-25 04:11:36 +00:00
1 parent ca78ccf74c
commit 458e731f8b
80 files changed
+580 -91

No files matched your search

+1
View File
@@ -186,6 +186,7 @@ export const imessagePlugin: ChannelPlugin<ResolvedIMessageAccount> = {
outbound: {
deliveryMode: "direct",
chunker: (text, limit) => getIMessageRuntime().channel.text.chunkText(text, limit),
chunkerMode: "text",
textChunkLimit: 4000,
sendText: async ({ cfg, to, text, accountId, deps }) => {
const send = deps?.sendIMessage ?? getIMessageRuntime().channel.imessage.sendMessageIMessage;