openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 395 B
JavaScript
import { r as normalizeProviderId } from "./provider-id-DMd-TDFp.js";
import "./model-ref-parse-Cq4IFU8B.js";
//#region extensions/xai/provider-id.ts
const XAI_PROVIDER_IDS = /* @__PURE__ */ new Set(["xai", "x-ai"]);
function isXaiProviderId(provider) {
return typeof provider === "string" && XAI_PROVIDER_IDS.has(normalizeProviderId(provider));
}
//#endregion
export { isXaiProviderId as t };