@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 +8 -9
- package/dist/agent.js.map +1 -1
- package/dist/certify.js +8 -9
- package/dist/certify.js.map +1 -1
- package/dist/compatibility.d.ts +1 -1
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/dist/serving-admin.d.ts +1 -1
- package/dist/serving-admin.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/certify.js
CHANGED
|
@@ -3670,7 +3670,9 @@ var DatabricksServingAdmin = class {
|
|
|
3670
3670
|
return this.client.putProvisionedThroughputInferenceEndpointConfig({
|
|
3671
3671
|
name,
|
|
3672
3672
|
config: {
|
|
3673
|
-
servedEntities: servedEntities.map(
|
|
3673
|
+
servedEntities: servedEntities.map(
|
|
3674
|
+
serializePtEntity
|
|
3675
|
+
)
|
|
3674
3676
|
}
|
|
3675
3677
|
});
|
|
3676
3678
|
return this.client.putInferenceEndpointConfig({
|
|
@@ -3699,7 +3701,7 @@ var DatabricksServingAdmin = class {
|
|
|
3699
3701
|
return this.client.deleteInferenceEndpoint({ name });
|
|
3700
3702
|
}
|
|
3701
3703
|
async waitForEndpoint(name, options = {}) {
|
|
3702
|
-
const deadline = Date.now() + (options.timeoutMs ??
|
|
3704
|
+
const deadline = Date.now() + (options.timeoutMs ?? 27e5);
|
|
3703
3705
|
while (true) {
|
|
3704
3706
|
if (options.signal?.aborted)
|
|
3705
3707
|
throw options.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
@@ -3823,7 +3825,9 @@ function serializePtEntity(entity) {
|
|
|
3823
3825
|
};
|
|
3824
3826
|
}
|
|
3825
3827
|
function plainRecord3(value) {
|
|
3826
|
-
return JSON.parse(
|
|
3828
|
+
return JSON.parse(
|
|
3829
|
+
JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item)
|
|
3830
|
+
);
|
|
3827
3831
|
}
|
|
3828
3832
|
function tool3(name, effect, inputSchema, resources, execute2) {
|
|
3829
3833
|
return {
|
|
@@ -3870,12 +3874,7 @@ function entitySchema() {
|
|
|
3870
3874
|
provisionedModelUnits: { type: "number", minimum: 1 },
|
|
3871
3875
|
burstScalingEnabled: { type: "boolean" }
|
|
3872
3876
|
},
|
|
3873
|
-
required: [
|
|
3874
|
-
"name",
|
|
3875
|
-
"entityName",
|
|
3876
|
-
"entityVersion",
|
|
3877
|
-
"provisionedModelUnits"
|
|
3878
|
-
]
|
|
3877
|
+
required: ["name", "entityName", "entityVersion", "provisionedModelUnits"]
|
|
3879
3878
|
},
|
|
3880
3879
|
{
|
|
3881
3880
|
type: "object",
|