UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 654 B
import { n as digestTemplateValue } from "./digest-DN38l3Q9.mjs"; //#region src/templates/agent-config-ownership.ts function templateOwnedAgentConfig(e) { const { model: t, subagents: n, ...r } = e; return r; } function digestTemplateOwnedAgentConfig(e) { return digestTemplateValue(templateOwnedAgentConfig(e)); } function preserveOperatorAgentSettings(e, t) { return { ...templateOwnedAgentConfig(e), ...t && "model" in t ? { model: t.model } : {}, ...t && "subagents" in t ? { subagents: t.subagents } : {} }; } //#endregion export { preserveOperatorAgentSettings as n, templateOwnedAgentConfig as r, digestTemplateOwnedAgentConfig as t };