create-zuplo-api 7.8.23 → 7.8.25
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.
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"policies": {
|
|
42
42
|
"inbound": [
|
|
43
|
-
"ai-gateway-configuration-loader-
|
|
44
|
-
"ai-gateway-configuration-executor-
|
|
43
|
+
"ai-gateway-configuration-loader-inbound",
|
|
44
|
+
"ai-gateway-configuration-executor-inbound"
|
|
45
45
|
]
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"description": "Bad request"
|
|
64
64
|
},
|
|
65
65
|
"401": {
|
|
66
|
-
"description": "Unauthorized \u2014 returned only when the application's inboundPolicyChain includes ai-gateway-auth-
|
|
66
|
+
"description": "Unauthorized \u2014 returned only when the application's inboundPolicyChain includes ai-gateway-auth-inbound, or authentication runs before the configuration loader"
|
|
67
67
|
},
|
|
68
68
|
"403": {
|
|
69
69
|
"description": "Forbidden \u2014 returned by per-app policies, such as an API key issued for a different app_id or a model the app does not allow"
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
},
|
|
85
85
|
"policies": {
|
|
86
86
|
"inbound": [
|
|
87
|
-
"ai-gateway-configuration-loader-
|
|
88
|
-
"ai-gateway-configuration-executor-
|
|
87
|
+
"ai-gateway-configuration-loader-inbound",
|
|
88
|
+
"ai-gateway-configuration-executor-inbound"
|
|
89
89
|
]
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"description": "Bad request"
|
|
108
108
|
},
|
|
109
109
|
"401": {
|
|
110
|
-
"description": "Unauthorized \u2014 returned only when the application's inboundPolicyChain includes ai-gateway-auth-
|
|
110
|
+
"description": "Unauthorized \u2014 returned only when the application's inboundPolicyChain includes ai-gateway-auth-inbound, or authentication runs before the configuration loader"
|
|
111
111
|
},
|
|
112
112
|
"403": {
|
|
113
113
|
"description": "Forbidden \u2014 returned by per-app policies, such as an API key issued for a different app_id or a model the app does not allow"
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
},
|
|
129
129
|
"policies": {
|
|
130
130
|
"inbound": [
|
|
131
|
-
"ai-gateway-configuration-loader-
|
|
132
|
-
"ai-gateway-configuration-executor-
|
|
131
|
+
"ai-gateway-configuration-loader-inbound",
|
|
132
|
+
"ai-gateway-configuration-executor-inbound"
|
|
133
133
|
]
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"policies": [
|
|
3
3
|
{
|
|
4
4
|
"handler": {
|
|
5
|
-
"export": "
|
|
5
|
+
"export": "AIGatewayAuthInboundPolicy",
|
|
6
6
|
"module": "$import(@zuplo/runtime)",
|
|
7
7
|
"options": {}
|
|
8
8
|
},
|
|
9
|
-
"name": "ai-gateway-auth-
|
|
10
|
-
"policyType": "ai-gateway-auth
|
|
9
|
+
"name": "ai-gateway-auth-inbound",
|
|
10
|
+
"policyType": "ai-gateway-auth"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"handler": {
|
|
@@ -20,32 +20,32 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"handler": {
|
|
23
|
-
"export": "
|
|
23
|
+
"export": "AIGatewayConfigurationLoaderInboundPolicy",
|
|
24
24
|
"module": "$import(@zuplo/runtime)",
|
|
25
25
|
"options": {
|
|
26
26
|
"cacheTtlSeconds": 5
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"name": "ai-gateway-configuration-loader-
|
|
30
|
-
"policyType": "ai-gateway-configuration-loader
|
|
29
|
+
"name": "ai-gateway-configuration-loader-inbound",
|
|
30
|
+
"policyType": "ai-gateway-configuration-loader"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"handler": {
|
|
34
|
-
"export": "
|
|
34
|
+
"export": "AIGatewayConfigurationExecutorInboundPolicy",
|
|
35
35
|
"module": "$import(@zuplo/runtime)",
|
|
36
36
|
"options": {}
|
|
37
37
|
},
|
|
38
|
-
"name": "ai-gateway-configuration-executor-
|
|
39
|
-
"policyType": "ai-gateway-configuration-executor
|
|
38
|
+
"name": "ai-gateway-configuration-executor-inbound",
|
|
39
|
+
"policyType": "ai-gateway-configuration-executor"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"handler": {
|
|
43
|
-
"export": "
|
|
43
|
+
"export": "AIGatewayMeteringInboundPolicy",
|
|
44
44
|
"module": "$import(@zuplo/runtime)",
|
|
45
45
|
"options": {}
|
|
46
46
|
},
|
|
47
|
-
"name": "ai-gateway-metering-
|
|
48
|
-
"policyType": "ai-gateway-metering
|
|
47
|
+
"name": "ai-gateway-metering-inbound",
|
|
48
|
+
"policyType": "ai-gateway-metering"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"handler": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"handler": {
|
|
67
|
-
"export": "
|
|
67
|
+
"export": "AIGatewayModelFilteringInboundPolicy",
|
|
68
68
|
"module": "$import(@zuplo/runtime)",
|
|
69
69
|
"options": {
|
|
70
70
|
"models": {
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
"name": "ai-gateway-model-filtering-
|
|
78
|
-
"policyType": "ai-gateway-model-filtering
|
|
77
|
+
"name": "ai-gateway-model-filtering-inbound",
|
|
78
|
+
"policyType": "ai-gateway-model-filtering"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"handler": {
|
|
82
|
-
"export": "
|
|
82
|
+
"export": "AIGatewayFallbackModelInboundPolicy",
|
|
83
83
|
"module": "$import(@zuplo/runtime)",
|
|
84
84
|
"options": {
|
|
85
85
|
"models": {
|
|
@@ -90,32 +90,32 @@
|
|
|
90
90
|
"fallbackTimeoutSeconds": 60
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
"name": "ai-gateway-fallback-model-
|
|
94
|
-
"policyType": "ai-gateway-fallback-model
|
|
93
|
+
"name": "ai-gateway-fallback-model-inbound",
|
|
94
|
+
"policyType": "ai-gateway-fallback-model"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"handler": {
|
|
98
|
-
"export": "
|
|
98
|
+
"export": "AIGatewaySemanticCacheInboundPolicy",
|
|
99
99
|
"module": "$import(@zuplo/runtime)",
|
|
100
100
|
"options": {
|
|
101
101
|
"semanticTolerance": 0.4,
|
|
102
102
|
"expirationSecondsTtl": 3600
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"name": "ai-gateway-semantic-cache-
|
|
106
|
-
"policyType": "ai-gateway-semantic-cache
|
|
105
|
+
"name": "ai-gateway-semantic-cache-inbound",
|
|
106
|
+
"policyType": "ai-gateway-semantic-cache"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
"handler": {
|
|
110
|
-
"export": "
|
|
110
|
+
"export": "AIGatewayAkamaiFirewallInboundPolicy",
|
|
111
111
|
"module": "$import(@zuplo/runtime)",
|
|
112
112
|
"options": {
|
|
113
113
|
"configurationId": "",
|
|
114
114
|
"api-key": ""
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
"name": "akamai-
|
|
118
|
-
"policyType": "
|
|
117
|
+
"name": "ai-gateway-akamai-firewall-inbound",
|
|
118
|
+
"policyType": "ai-gateway-akamai-firewall"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"handler": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"handler": {
|
|
133
|
-
"export": "
|
|
133
|
+
"export": "AIGatewayOpikTracingInboundPolicy",
|
|
134
134
|
"module": "$import(@zuplo/runtime)",
|
|
135
135
|
"options": {
|
|
136
136
|
"apiKey": "",
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"workspace": ""
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
|
-
"name": "
|
|
142
|
-
"policyType": "
|
|
141
|
+
"name": "ai-gateway-opik-tracing-inbound",
|
|
142
|
+
"policyType": "ai-gateway-opik-tracing"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"handler": {
|
|
146
|
-
"export": "
|
|
146
|
+
"export": "AIGatewayGalileoTracingInboundPolicy",
|
|
147
147
|
"module": "$import(@zuplo/runtime)",
|
|
148
148
|
"options": {
|
|
149
149
|
"apiKey": "",
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"logStreamId": ""
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
-
"name": "galileo-tracing-
|
|
155
|
-
"policyType": "galileo-tracing
|
|
154
|
+
"name": "ai-gateway-galileo-tracing-inbound",
|
|
155
|
+
"policyType": "ai-gateway-galileo-tracing"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"handler": {
|