@fabric-harness/databricks 7.0.0 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/agent.js CHANGED
@@ -59776,7 +59776,9 @@ var DatabricksServingAdmin = class {
59776
59776
  return this.client.putProvisionedThroughputInferenceEndpointConfig({
59777
59777
  name,
59778
59778
  config: {
59779
- servedEntities: servedEntities.map(serializePtEntity)
59779
+ servedEntities: servedEntities.map(
59780
+ serializePtEntity
59781
+ )
59780
59782
  }
59781
59783
  });
59782
59784
  return this.client.putInferenceEndpointConfig({
@@ -59805,7 +59807,7 @@ var DatabricksServingAdmin = class {
59805
59807
  return this.client.deleteInferenceEndpoint({ name });
59806
59808
  }
59807
59809
  async waitForEndpoint(name, options = {}) {
59808
- const deadline = Date.now() + (options.timeoutMs ?? 18e5);
59810
+ const deadline = Date.now() + (options.timeoutMs ?? 27e5);
59809
59811
  while (true) {
59810
59812
  if (options.signal?.aborted)
59811
59813
  throw options.signal.reason ?? new DOMException("Aborted", "AbortError");
@@ -59929,7 +59931,9 @@ function serializePtEntity(entity) {
59929
59931
  };
59930
59932
  }
59931
59933
  function plainRecord3(value) {
59932
- return JSON.parse(JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item));
59934
+ return JSON.parse(
59935
+ JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item)
59936
+ );
59933
59937
  }
59934
59938
  function tool4(name, effect, inputSchema, resources, execute2) {
59935
59939
  return {
@@ -59976,12 +59980,7 @@ function entitySchema() {
59976
59980
  provisionedModelUnits: { type: "number", minimum: 1 },
59977
59981
  burstScalingEnabled: { type: "boolean" }
59978
59982
  },
59979
- required: [
59980
- "name",
59981
- "entityName",
59982
- "entityVersion",
59983
- "provisionedModelUnits"
59984
- ]
59983
+ required: ["name", "entityName", "entityVersion", "provisionedModelUnits"]
59985
59984
  },
59986
59985
  {
59987
59986
  type: "object",