@fabric-harness/databricks 7.0.0 → 7.0.1

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/index.js CHANGED
@@ -60064,7 +60064,9 @@ var DatabricksServingAdmin = class {
60064
60064
  return this.client.putProvisionedThroughputInferenceEndpointConfig({
60065
60065
  name,
60066
60066
  config: {
60067
- servedEntities: servedEntities.map(serializePtEntity)
60067
+ servedEntities: servedEntities.map(
60068
+ serializePtEntity
60069
+ )
60068
60070
  }
60069
60071
  });
60070
60072
  return this.client.putInferenceEndpointConfig({
@@ -60093,7 +60095,7 @@ var DatabricksServingAdmin = class {
60093
60095
  return this.client.deleteInferenceEndpoint({ name });
60094
60096
  }
60095
60097
  async waitForEndpoint(name, options = {}) {
60096
- const deadline = Date.now() + (options.timeoutMs ?? 18e5);
60098
+ const deadline = Date.now() + (options.timeoutMs ?? 27e5);
60097
60099
  while (true) {
60098
60100
  if (options.signal?.aborted)
60099
60101
  throw options.signal.reason ?? new DOMException("Aborted", "AbortError");
@@ -60217,7 +60219,9 @@ function serializePtEntity(entity) {
60217
60219
  };
60218
60220
  }
60219
60221
  function plainRecord3(value) {
60220
- return JSON.parse(JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item));
60222
+ return JSON.parse(
60223
+ JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item)
60224
+ );
60221
60225
  }
60222
60226
  function tool4(name, effect, inputSchema, resources, execute2) {
60223
60227
  return {
@@ -60264,12 +60268,7 @@ function entitySchema() {
60264
60268
  provisionedModelUnits: { type: "number", minimum: 1 },
60265
60269
  burstScalingEnabled: { type: "boolean" }
60266
60270
  },
60267
- required: [
60268
- "name",
60269
- "entityName",
60270
- "entityVersion",
60271
- "provisionedModelUnits"
60272
- ]
60271
+ required: ["name", "entityName", "entityVersion", "provisionedModelUnits"]
60273
60272
  },
60274
60273
  {
60275
60274
  type: "object",