UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 648 B
import { v as resolveProviderEntryApiKeyProfileReference } from "./model-auth-provider-config-Bnc4upRS.mjs"; import "./model-auth-CEsyk_Yg.mjs"; //#region src/gateway/server-methods/models-auth-status-config.ts function resolveConfigBoundProfileIds(e, t, n) { const r = /* @__PURE__ */ new Set(); for (const i of Object.keys(e.models?.providers ?? {})) { const a = resolveProviderEntryApiKeyProfileReference({ cfg: e, authAliasLookupParams: n, provider: i, store: t }); if (a.kind === "profile" || a.kind === "profile-incompatible") r.add(a.profileId); } return r; } //#endregion export { resolveConfigBoundProfileIds as t };