create-zuplo-api 7.8.24 → 7.9.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.
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "policies": {
42
42
  "inbound": [
43
- "ai-gateway-configuration-loader-v2-inbound",
44
- "ai-gateway-configuration-executor-v2-inbound"
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-v2-inbound, or authentication runs before the configuration loader"
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-v2-inbound",
88
- "ai-gateway-configuration-executor-v2-inbound"
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-v2-inbound, or authentication runs before the configuration loader"
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-v2-inbound",
132
- "ai-gateway-configuration-executor-v2-inbound"
131
+ "ai-gateway-configuration-loader-inbound",
132
+ "ai-gateway-configuration-executor-inbound"
133
133
  ]
134
134
  }
135
135
  }
@@ -6,7 +6,7 @@
6
6
  "module": "$import(@zuplo/runtime)",
7
7
  "options": {}
8
8
  },
9
- "name": "ai-gateway-auth-v2-inbound",
9
+ "name": "ai-gateway-auth-inbound",
10
10
  "policyType": "ai-gateway-auth"
11
11
  },
12
12
  {
@@ -26,7 +26,7 @@
26
26
  "cacheTtlSeconds": 5
27
27
  }
28
28
  },
29
- "name": "ai-gateway-configuration-loader-v2-inbound",
29
+ "name": "ai-gateway-configuration-loader-inbound",
30
30
  "policyType": "ai-gateway-configuration-loader"
31
31
  },
32
32
  {
@@ -35,7 +35,7 @@
35
35
  "module": "$import(@zuplo/runtime)",
36
36
  "options": {}
37
37
  },
38
- "name": "ai-gateway-configuration-executor-v2-inbound",
38
+ "name": "ai-gateway-configuration-executor-inbound",
39
39
  "policyType": "ai-gateway-configuration-executor"
40
40
  },
41
41
  {
@@ -44,7 +44,7 @@
44
44
  "module": "$import(@zuplo/runtime)",
45
45
  "options": {}
46
46
  },
47
- "name": "ai-gateway-metering-v2-inbound",
47
+ "name": "ai-gateway-metering-inbound",
48
48
  "policyType": "ai-gateway-metering"
49
49
  },
50
50
  {
@@ -74,7 +74,7 @@
74
74
  }
75
75
  }
76
76
  },
77
- "name": "ai-gateway-model-filtering-v2-inbound",
77
+ "name": "ai-gateway-model-filtering-inbound",
78
78
  "policyType": "ai-gateway-model-filtering"
79
79
  },
80
80
  {
@@ -90,7 +90,7 @@
90
90
  "fallbackTimeoutSeconds": 60
91
91
  }
92
92
  },
93
- "name": "ai-gateway-fallback-model-v2-inbound",
93
+ "name": "ai-gateway-fallback-model-inbound",
94
94
  "policyType": "ai-gateway-fallback-model"
95
95
  },
96
96
  {
@@ -102,7 +102,7 @@
102
102
  "expirationSecondsTtl": 3600
103
103
  }
104
104
  },
105
- "name": "ai-gateway-semantic-cache-v2-inbound",
105
+ "name": "ai-gateway-semantic-cache-inbound",
106
106
  "policyType": "ai-gateway-semantic-cache"
107
107
  },
108
108
  {
@@ -114,7 +114,7 @@
114
114
  "api-key": ""
115
115
  }
116
116
  },
117
- "name": "akamai-ai-firewall-v2-inbound",
117
+ "name": "ai-gateway-akamai-firewall-inbound",
118
118
  "policyType": "ai-gateway-akamai-firewall"
119
119
  },
120
120
  {
@@ -138,7 +138,7 @@
138
138
  "workspace": ""
139
139
  }
140
140
  },
141
- "name": "comet-opik-tracing-v2-inbound",
141
+ "name": "ai-gateway-opik-tracing-inbound",
142
142
  "policyType": "ai-gateway-opik-tracing"
143
143
  },
144
144
  {
@@ -151,7 +151,7 @@
151
151
  "logStreamId": ""
152
152
  }
153
153
  },
154
- "name": "galileo-tracing-v2-inbound",
154
+ "name": "ai-gateway-galileo-tracing-inbound",
155
155
  "policyType": "ai-gateway-galileo-tracing"
156
156
  },
157
157
  {
@@ -199,8 +199,12 @@
199
199
  "export": "AIGatewaySmartRouterInboundPolicy",
200
200
  "module": "$import(@zuplo/runtime)",
201
201
  "options": {
202
- "classifierAppID": "",
203
- "classifierModel": "openai/gpt-4o-mini",
202
+ "classifier": {
203
+ "app": {
204
+ "appId": "",
205
+ "model": "openai/gpt-4o-mini"
206
+ }
207
+ },
204
208
  "modelsByComplexity": {
205
209
  "low": "openai/gpt-4o-mini",
206
210
  "medium": "openai/gpt-4o",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zuplo-api",
3
- "version": "7.8.24",
3
+ "version": "7.9.2",
4
4
  "keywords": [
5
5
  "api",
6
6
  "openapi",