@zuplo/lint-linux-x64 7.8.1 → 7.8.3
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.
|
@@ -666,18 +666,18 @@
|
|
|
666
666
|
"options": {
|
|
667
667
|
"type": "object",
|
|
668
668
|
"additionalProperties": false,
|
|
669
|
-
"required": [
|
|
669
|
+
"required": [],
|
|
670
670
|
"properties": {
|
|
671
671
|
"apiKey": {
|
|
672
672
|
"type": "string",
|
|
673
673
|
"title": "API Key",
|
|
674
|
-
"description": "Credential used to run the classifier. Without `appId` this is the API key for the OpenAI-compatible service at `baseUrl
|
|
674
|
+
"description": "Credential used to run the classifier. Without `appId` this is the API key for the OpenAI-compatible service at `baseUrl`, and it is required. With `appId` it is optional: omit it when the classifier app runs the Ensure Gateway Internal Invocation Only policy, which authorizes the in-process invocation itself, and set it only when that app authenticates callers with API keys, in which case it is sent as `Authorization: Bearer`.",
|
|
675
675
|
"examples": ["$env(OPENAI_API_KEY)"]
|
|
676
676
|
},
|
|
677
677
|
"appId": {
|
|
678
678
|
"type": "string",
|
|
679
679
|
"title": "Classifier App ID",
|
|
680
|
-
"description": "Run the classifier on another AI Gateway app instead of calling an external API directly. The gateway invokes that app in-process — no outbound HTTP hop — so the classifier inherits its provider credentials, model routing, fallbacks and quotas, and provider keys stay on one app. When set, `model` must name a routed model as `provider/model` and `baseUrl` must not be set. The target app must not itself run this policy: it would be asked to classify its own classification request, which is rejected as a configuration error rather than silently skipped. Omit to call `baseUrl` directly.",
|
|
680
|
+
"description": "Run the classifier on another AI Gateway app instead of calling an external API directly. The gateway invokes that app in-process — no outbound HTTP hop — so the classifier inherits its provider credentials, model routing, fallbacks and quotas, and provider keys stay on one app. Give that app the Ensure Gateway Internal Invocation Only policy and `apiKey` is not needed at all. When set, `model` must name a routed model as `provider/model` and `baseUrl` must not be set. The target app must not itself run this policy: it would be asked to classify its own classification request, which is rejected as a configuration error rather than silently skipped. Omit to call `baseUrl` directly.",
|
|
681
681
|
"examples": ["$env(CLASSIFIER_APP_ID)"],
|
|
682
682
|
"x-show-example": false
|
|
683
683
|
},
|
|
@@ -930,7 +930,6 @@
|
|
|
930
930
|
"additionalProperties": false,
|
|
931
931
|
"required": [
|
|
932
932
|
"classifierAppID",
|
|
933
|
-
"classifierAppApiKey",
|
|
934
933
|
"classifierModel",
|
|
935
934
|
"modelsByComplexity"
|
|
936
935
|
],
|
|
@@ -944,7 +943,7 @@
|
|
|
944
943
|
"classifierAppApiKey": {
|
|
945
944
|
"type": "string",
|
|
946
945
|
"title": "Classifier App API Key",
|
|
947
|
-
"description": "API key sent as `Authorization: Bearer` when invoking the classifier app.",
|
|
946
|
+
"description": "API key sent as `Authorization: Bearer` when invoking the classifier app. Omit it when the classifier app runs the Ensure Gateway Internal Invocation Only policy: the classifier call never leaves the gateway, so that policy accepts it and rejects everything arriving over the network, and no credential is sent. Set it only when the classifier app authenticates callers with API keys.",
|
|
948
947
|
"examples": ["$env(CLASSIFIER_APP_API_KEY)"]
|
|
949
948
|
},
|
|
950
949
|
"classifierModel": {
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.8.
|
|
1
|
+
7.8.3
|