openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines (10 loc) • 486 B
JavaScript
import { c as normalizeOptionalLowercaseString } from "./string-coerce-CCIiB4H7.mjs";
//#region src/config/legacy-codex-provider.ts
/** Provider spellings accepted only by legacy migration boundaries. */
const LEGACY_CODEX_PROVIDER_IDS = /* @__PURE__ */ new Set(["codex", "openai-codex"]);
function isLegacyCodexProviderId(e) {
const t = normalizeOptionalLowercaseString(e);
return t ? LEGACY_CODEX_PROVIDER_IDS.has(t) : false;
}
//#endregion
export { isLegacyCodexProviderId as t };