openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
16 lines (15 loc) • 750 B
JavaScript
//#region src/routing/default-account-warnings.ts
function formatChannelDefaultAccountPath(e) {
return `channels.${e}.defaultAccount`;
}
function formatChannelAccountsDefaultPath(e) {
return `channels.${e}.accounts.default`;
}
function formatSetExplicitDefaultInstruction(e) {
return `Set ${formatChannelDefaultAccountPath(e)} or add ${formatChannelAccountsDefaultPath(e)}`;
}
function formatSetExplicitDefaultToConfiguredInstruction(e) {
return `Set ${formatChannelDefaultAccountPath(e.channelKey)} to one of these accounts, or add ${formatChannelAccountsDefaultPath(e.channelKey)}`;
}
//#endregion
export { formatSetExplicitDefaultInstruction as n, formatSetExplicitDefaultToConfiguredInstruction as r, formatChannelAccountsDefaultPath as t };