@zuplo/lint-win32-x64 7.5.7 → 7.6.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.
|
@@ -429,8 +429,20 @@
|
|
|
429
429
|
"default": false,
|
|
430
430
|
"description": "Throw when the metering service is unavailable instead of failing open."
|
|
431
431
|
},
|
|
432
|
+
"budgetRules": {
|
|
433
|
+
"type": "array",
|
|
434
|
+
"maxItems": 5,
|
|
435
|
+
"description": "Budget rules for this application. Each rule budgets the whole app (\"app\") or each distinct value of an expression (\"expression\"), with warn and block thresholds per meter and period.",
|
|
436
|
+
"items": {
|
|
437
|
+
"$ref": "#/$defs/ai-gateway-metering-v2/meteringBudgetRule"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
432
440
|
"limits": {
|
|
433
441
|
"type": "object",
|
|
442
|
+
"deprecated": true,
|
|
443
|
+
"doNotSuggest": true,
|
|
444
|
+
"x-show-example": false,
|
|
445
|
+
"x-advanced": true,
|
|
434
446
|
"description": "Usage limits grouped by meter.",
|
|
435
447
|
"additionalProperties": false,
|
|
436
448
|
"properties": {
|
|
@@ -9266,6 +9278,53 @@
|
|
|
9266
9278
|
}
|
|
9267
9279
|
},
|
|
9268
9280
|
"ai-gateway-metering-v2": {
|
|
9281
|
+
"meteringBudgetRule": {
|
|
9282
|
+
"type": "object",
|
|
9283
|
+
"additionalProperties": false,
|
|
9284
|
+
"required": ["budgetBy", "meters"],
|
|
9285
|
+
"properties": {
|
|
9286
|
+
"budgetBy": {
|
|
9287
|
+
"type": "string",
|
|
9288
|
+
"enum": ["app", "expression"]
|
|
9289
|
+
},
|
|
9290
|
+
"expression": {
|
|
9291
|
+
"type": "string",
|
|
9292
|
+
"minLength": 1,
|
|
9293
|
+
"description": "Required when budgetBy is \"expression\"; forbidden for \"app\". Each distinct value gets its own budget."
|
|
9294
|
+
},
|
|
9295
|
+
"meters": {
|
|
9296
|
+
"type": "array",
|
|
9297
|
+
"minItems": 1,
|
|
9298
|
+
"maxItems": 24,
|
|
9299
|
+
"items": {
|
|
9300
|
+
"$ref": "#/$defs/ai-gateway-metering-v2/meteringBudgetRuleMeter"
|
|
9301
|
+
}
|
|
9302
|
+
}
|
|
9303
|
+
}
|
|
9304
|
+
},
|
|
9305
|
+
"meteringBudgetRuleMeter": {
|
|
9306
|
+
"type": "object",
|
|
9307
|
+
"additionalProperties": false,
|
|
9308
|
+
"required": ["meter", "period", "value", "action"],
|
|
9309
|
+
"properties": {
|
|
9310
|
+
"meter": {
|
|
9311
|
+
"type": "string",
|
|
9312
|
+
"enum": ["cost", "requests", "tokens"]
|
|
9313
|
+
},
|
|
9314
|
+
"period": {
|
|
9315
|
+
"type": "string",
|
|
9316
|
+
"enum": ["hourly", "daily", "weekly", "monthly"]
|
|
9317
|
+
},
|
|
9318
|
+
"value": {
|
|
9319
|
+
"type": "number",
|
|
9320
|
+
"minimum": 0
|
|
9321
|
+
},
|
|
9322
|
+
"action": {
|
|
9323
|
+
"type": "string",
|
|
9324
|
+
"enum": ["warn", "block"]
|
|
9325
|
+
}
|
|
9326
|
+
}
|
|
9327
|
+
},
|
|
9269
9328
|
"warningSettings": {
|
|
9270
9329
|
"type": "object",
|
|
9271
9330
|
"additionalProperties": false,
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.6.1
|