openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
16 lines (15 loc) • 566 B
JavaScript
import { a as normalizeChannelId, t as getChannelPlugin } from "./registry-MkxNn1Ue.js";
import "./chat-target-prefixes-YaCG6IZV.js";
//#region src/channels/plugins/tts-capabilities.ts
/**
* Channel TTS voice capability resolver.
*
* Reads channel-advertised voice delivery support for prompt and runtime routing.
*/
function resolveChannelTtsVoiceDelivery(channel) {
const channelId = normalizeChannelId(channel);
if (!channelId) return;
return getChannelPlugin(channelId)?.capabilities.tts?.voice;
}
//#endregion
export { resolveChannelTtsVoiceDelivery as t };