UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 730 B
import { b as resolveProviderEntryApiKeyProfileReference } from "./model-auth-provider-config-D93sNwG4.mjs"; import "./model-auth-DfhKAcog.mjs"; //#region src/gateway/server-methods/models-auth-status-config.ts function resolveConfigBoundProfileIds(cfg, store, authAliasLookupParams) { const profileIds = /* @__PURE__ */ new Set(); for (const provider of Object.keys(cfg.models?.providers ?? {})) { const reference = resolveProviderEntryApiKeyProfileReference({ cfg, authAliasLookupParams, provider, store }); if (reference.kind === "profile" || reference.kind === "profile-incompatible") profileIds.add(reference.profileId); } return profileIds; } //#endregion export { resolveConfigBoundProfileIds as t };