MCPcopy Create free account
hub / github.com/openai/codex-plugin-cc / normalizeProviderId

Function normalizeProviderId

plugins/codex/scripts/lib/codex.mjs:764–767  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

762]);
763
764function normalizeProviderId(value) {
765 const providerId = typeof value === "string" ? value.trim() : "";
766 return providerId || null;
767}
768
769function formatProviderLabel(providerId, providerConfig = null) {
770 const configuredName = typeof providerConfig?.name === "string" ? providerConfig.name.trim() : "";

Callers 1

resolveProviderConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected