mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
11 lines
381 B
TypeScript
11 lines
381 B
TypeScript
import { sanitizeForPlainText } from "openclaw/plugin-sdk/outbound-runtime";
|
|
import { chunkTextForOutbound } from "./channel-api.js";
|
|
|
|
export const ircOutboundBaseAdapter = {
|
|
deliveryMode: "direct" as const,
|
|
chunker: chunkTextForOutbound,
|
|
chunkerMode: "markdown" as const,
|
|
textChunkLimit: 350,
|
|
sanitizeText: ({ text }: { text: string }) => sanitizeForPlainText(text),
|
|
};
|