import {
  makeRequest
} from "./chunk-CAY57CKF.js";

// src/langwatch-api-model-providers.ts
async function listModelProviders() {
  return makeRequest("GET", "/api/model-providers");
}
async function setModelProvider(params) {
  const { provider, ...data } = params;
  return makeRequest(
    "PUT",
    `/api/model-providers/${encodeURIComponent(provider)}`,
    data
  );
}

export {
  listModelProviders,
  setModelProvider
};
//# sourceMappingURL=chunk-AGGE6NPR.js.map