@hebo-ai/gateway 0.6.2 → 0.8.0-rc0

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.
Files changed (168) hide show
  1. package/README.md +134 -7
  2. package/package.json +46 -1
  3. package/dist/config.d.ts +0 -2
  4. package/dist/config.js +0 -81
  5. package/dist/endpoints/chat-completions/converters.d.ts +0 -43
  6. package/dist/endpoints/chat-completions/converters.js +0 -625
  7. package/dist/endpoints/chat-completions/handler.d.ts +0 -2
  8. package/dist/endpoints/chat-completions/handler.js +0 -149
  9. package/dist/endpoints/chat-completions/index.d.ts +0 -4
  10. package/dist/endpoints/chat-completions/index.js +0 -4
  11. package/dist/endpoints/chat-completions/otel.d.ts +0 -5
  12. package/dist/endpoints/chat-completions/otel.js +0 -171
  13. package/dist/endpoints/chat-completions/schema.d.ts +0 -1188
  14. package/dist/endpoints/chat-completions/schema.js +0 -298
  15. package/dist/endpoints/embeddings/converters.d.ts +0 -10
  16. package/dist/endpoints/embeddings/converters.js +0 -31
  17. package/dist/endpoints/embeddings/handler.d.ts +0 -2
  18. package/dist/endpoints/embeddings/handler.js +0 -104
  19. package/dist/endpoints/embeddings/index.d.ts +0 -4
  20. package/dist/endpoints/embeddings/index.js +0 -4
  21. package/dist/endpoints/embeddings/otel.d.ts +0 -5
  22. package/dist/endpoints/embeddings/otel.js +0 -29
  23. package/dist/endpoints/embeddings/schema.d.ts +0 -44
  24. package/dist/endpoints/embeddings/schema.js +0 -29
  25. package/dist/endpoints/models/converters.d.ts +0 -6
  26. package/dist/endpoints/models/converters.js +0 -42
  27. package/dist/endpoints/models/handler.d.ts +0 -2
  28. package/dist/endpoints/models/handler.js +0 -29
  29. package/dist/endpoints/models/index.d.ts +0 -3
  30. package/dist/endpoints/models/index.js +0 -3
  31. package/dist/endpoints/models/schema.d.ts +0 -42
  32. package/dist/endpoints/models/schema.js +0 -31
  33. package/dist/errors/ai-sdk.d.ts +0 -2
  34. package/dist/errors/ai-sdk.js +0 -52
  35. package/dist/errors/gateway.d.ts +0 -5
  36. package/dist/errors/gateway.js +0 -13
  37. package/dist/errors/openai.d.ts +0 -20
  38. package/dist/errors/openai.js +0 -40
  39. package/dist/errors/utils.d.ts +0 -22
  40. package/dist/errors/utils.js +0 -44
  41. package/dist/gateway.d.ts +0 -9
  42. package/dist/gateway.js +0 -40
  43. package/dist/index.d.ts +0 -14
  44. package/dist/index.js +0 -13
  45. package/dist/lifecycle.d.ts +0 -2
  46. package/dist/lifecycle.js +0 -98
  47. package/dist/logger/default.d.ts +0 -4
  48. package/dist/logger/default.js +0 -81
  49. package/dist/logger/index.d.ts +0 -11
  50. package/dist/logger/index.js +0 -25
  51. package/dist/middleware/common.d.ts +0 -12
  52. package/dist/middleware/common.js +0 -146
  53. package/dist/middleware/debug.d.ts +0 -3
  54. package/dist/middleware/debug.js +0 -27
  55. package/dist/middleware/matcher.d.ts +0 -28
  56. package/dist/middleware/matcher.js +0 -118
  57. package/dist/middleware/utils.d.ts +0 -2
  58. package/dist/middleware/utils.js +0 -24
  59. package/dist/models/amazon/index.d.ts +0 -2
  60. package/dist/models/amazon/index.js +0 -2
  61. package/dist/models/amazon/middleware.d.ts +0 -3
  62. package/dist/models/amazon/middleware.js +0 -68
  63. package/dist/models/amazon/presets.d.ts +0 -345
  64. package/dist/models/amazon/presets.js +0 -80
  65. package/dist/models/anthropic/index.d.ts +0 -2
  66. package/dist/models/anthropic/index.js +0 -2
  67. package/dist/models/anthropic/middleware.d.ts +0 -5
  68. package/dist/models/anthropic/middleware.js +0 -127
  69. package/dist/models/anthropic/presets.d.ts +0 -711
  70. package/dist/models/anthropic/presets.js +0 -135
  71. package/dist/models/catalog.d.ts +0 -4
  72. package/dist/models/catalog.js +0 -8
  73. package/dist/models/cohere/index.d.ts +0 -2
  74. package/dist/models/cohere/index.js +0 -2
  75. package/dist/models/cohere/middleware.d.ts +0 -3
  76. package/dist/models/cohere/middleware.js +0 -62
  77. package/dist/models/cohere/presets.d.ts +0 -411
  78. package/dist/models/cohere/presets.js +0 -134
  79. package/dist/models/google/index.d.ts +0 -2
  80. package/dist/models/google/index.js +0 -2
  81. package/dist/models/google/middleware.d.ts +0 -8
  82. package/dist/models/google/middleware.js +0 -111
  83. package/dist/models/google/presets.d.ts +0 -375
  84. package/dist/models/google/presets.js +0 -82
  85. package/dist/models/meta/index.d.ts +0 -1
  86. package/dist/models/meta/index.js +0 -1
  87. package/dist/models/meta/presets.d.ts +0 -483
  88. package/dist/models/meta/presets.js +0 -95
  89. package/dist/models/openai/index.d.ts +0 -2
  90. package/dist/models/openai/index.js +0 -2
  91. package/dist/models/openai/middleware.d.ts +0 -4
  92. package/dist/models/openai/middleware.js +0 -88
  93. package/dist/models/openai/presets.d.ts +0 -959
  94. package/dist/models/openai/presets.js +0 -213
  95. package/dist/models/types.d.ts +0 -20
  96. package/dist/models/types.js +0 -84
  97. package/dist/models/voyage/index.d.ts +0 -2
  98. package/dist/models/voyage/index.js +0 -2
  99. package/dist/models/voyage/middleware.d.ts +0 -2
  100. package/dist/models/voyage/middleware.js +0 -19
  101. package/dist/models/voyage/presets.d.ts +0 -436
  102. package/dist/models/voyage/presets.js +0 -85
  103. package/dist/providers/anthropic/canonical.d.ts +0 -3
  104. package/dist/providers/anthropic/canonical.js +0 -9
  105. package/dist/providers/anthropic/index.d.ts +0 -1
  106. package/dist/providers/anthropic/index.js +0 -1
  107. package/dist/providers/bedrock/canonical.d.ts +0 -17
  108. package/dist/providers/bedrock/canonical.js +0 -61
  109. package/dist/providers/bedrock/index.d.ts +0 -2
  110. package/dist/providers/bedrock/index.js +0 -2
  111. package/dist/providers/bedrock/middleware.d.ts +0 -4
  112. package/dist/providers/bedrock/middleware.js +0 -104
  113. package/dist/providers/cohere/canonical.d.ts +0 -3
  114. package/dist/providers/cohere/canonical.js +0 -17
  115. package/dist/providers/cohere/index.d.ts +0 -1
  116. package/dist/providers/cohere/index.js +0 -1
  117. package/dist/providers/groq/canonical.d.ts +0 -3
  118. package/dist/providers/groq/canonical.js +0 -12
  119. package/dist/providers/groq/index.d.ts +0 -1
  120. package/dist/providers/groq/index.js +0 -1
  121. package/dist/providers/openai/canonical.d.ts +0 -3
  122. package/dist/providers/openai/canonical.js +0 -8
  123. package/dist/providers/openai/index.d.ts +0 -1
  124. package/dist/providers/openai/index.js +0 -1
  125. package/dist/providers/registry.d.ts +0 -24
  126. package/dist/providers/registry.js +0 -103
  127. package/dist/providers/types.d.ts +0 -7
  128. package/dist/providers/types.js +0 -11
  129. package/dist/providers/vertex/canonical.d.ts +0 -3
  130. package/dist/providers/vertex/canonical.js +0 -8
  131. package/dist/providers/vertex/index.d.ts +0 -1
  132. package/dist/providers/vertex/index.js +0 -1
  133. package/dist/providers/voyage/canonical.d.ts +0 -3
  134. package/dist/providers/voyage/canonical.js +0 -7
  135. package/dist/providers/voyage/index.d.ts +0 -1
  136. package/dist/providers/voyage/index.js +0 -1
  137. package/dist/telemetry/ai-sdk.d.ts +0 -2
  138. package/dist/telemetry/ai-sdk.js +0 -31
  139. package/dist/telemetry/baggage.d.ts +0 -1
  140. package/dist/telemetry/baggage.js +0 -24
  141. package/dist/telemetry/fetch.d.ts +0 -2
  142. package/dist/telemetry/fetch.js +0 -49
  143. package/dist/telemetry/gen-ai.d.ts +0 -6
  144. package/dist/telemetry/gen-ai.js +0 -78
  145. package/dist/telemetry/http.d.ts +0 -3
  146. package/dist/telemetry/http.js +0 -54
  147. package/dist/telemetry/index.d.ts +0 -1
  148. package/dist/telemetry/index.js +0 -1
  149. package/dist/telemetry/memory.d.ts +0 -2
  150. package/dist/telemetry/memory.js +0 -43
  151. package/dist/telemetry/span.d.ts +0 -13
  152. package/dist/telemetry/span.js +0 -60
  153. package/dist/telemetry/stream.d.ts +0 -3
  154. package/dist/telemetry/stream.js +0 -58
  155. package/dist/types.d.ts +0 -176
  156. package/dist/types.js +0 -1
  157. package/dist/utils/env.d.ts +0 -2
  158. package/dist/utils/env.js +0 -7
  159. package/dist/utils/headers.d.ts +0 -4
  160. package/dist/utils/headers.js +0 -22
  161. package/dist/utils/preset.d.ts +0 -10
  162. package/dist/utils/preset.js +0 -42
  163. package/dist/utils/request.d.ts +0 -2
  164. package/dist/utils/request.js +0 -43
  165. package/dist/utils/response.d.ts +0 -3
  166. package/dist/utils/response.js +0 -70
  167. package/dist/utils/url.d.ts +0 -4
  168. package/dist/utils/url.js +0 -21
@@ -1,959 +0,0 @@
1
- import type { CatalogModel } from "../types";
2
- export declare const gpt5: import("../../utils/preset").Preset<"openai/gpt-5", CatalogModel, {
3
- name: string;
4
- created: string;
5
- knowledge: string;
6
- context: number;
7
- modalities: {
8
- input: readonly ["text", "image"];
9
- output: readonly ["text"];
10
- };
11
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
12
- providers: readonly ["openai", "azure"];
13
- }>;
14
- export declare const gpt5Pro: import("../../utils/preset").Preset<"openai/gpt-5-pro", CatalogModel, {
15
- name: string;
16
- created: string;
17
- knowledge: string;
18
- context: number;
19
- modalities: {
20
- input: readonly ["text", "image"];
21
- output: readonly ["text"];
22
- };
23
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
24
- providers: readonly ["openai", "azure"];
25
- }>;
26
- export declare const gpt5Mini: import("../../utils/preset").Preset<"openai/gpt-5-mini", CatalogModel, {
27
- name: string;
28
- created: string;
29
- knowledge: string;
30
- context: number;
31
- modalities: {
32
- input: readonly ["text", "image"];
33
- output: readonly ["text"];
34
- };
35
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
36
- providers: readonly ["openai", "azure"];
37
- }>;
38
- export declare const gpt5Nano: import("../../utils/preset").Preset<"openai/gpt-5-nano", CatalogModel, {
39
- name: string;
40
- created: string;
41
- knowledge: string;
42
- context: number;
43
- modalities: {
44
- input: readonly ["text", "image"];
45
- output: readonly ["text"];
46
- };
47
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
48
- providers: readonly ["openai", "azure"];
49
- }>;
50
- export declare const gpt51: import("../../utils/preset").Preset<"openai/gpt-5.1", CatalogModel, {
51
- name: string;
52
- created: string;
53
- knowledge: string;
54
- context: number;
55
- modalities: {
56
- input: readonly ["text", "image"];
57
- output: readonly ["text"];
58
- };
59
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
60
- providers: readonly ["openai", "azure"];
61
- }>;
62
- export declare const gpt51Chat: import("../../utils/preset").Preset<"openai/gpt-5.1-chat", CatalogModel, {
63
- name: string;
64
- created: string;
65
- knowledge: string;
66
- context: number;
67
- modalities: {
68
- input: readonly ["text", "image"];
69
- output: readonly ["text"];
70
- };
71
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
72
- providers: readonly ["openai", "azure"];
73
- }>;
74
- export declare const gpt51Codex: import("../../utils/preset").Preset<"openai/gpt-5.1-codex", CatalogModel, {
75
- name: string;
76
- created: string;
77
- knowledge: string;
78
- context: number;
79
- modalities: {
80
- input: readonly ["text", "image"];
81
- output: readonly ["text"];
82
- };
83
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
84
- providers: readonly ["openai", "azure"];
85
- }>;
86
- export declare const gpt51CodexMax: import("../../utils/preset").Preset<"openai/gpt-5.1-codex-max", CatalogModel, {
87
- name: string;
88
- created: string;
89
- knowledge: string;
90
- context: number;
91
- modalities: {
92
- input: readonly ["text", "image"];
93
- output: readonly ["text"];
94
- };
95
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
96
- providers: readonly ["openai", "azure"];
97
- }>;
98
- export declare const gpt5Codex: import("../../utils/preset").Preset<"openai/gpt-5-codex", CatalogModel, {
99
- name: string;
100
- created: string;
101
- knowledge: string;
102
- context: number;
103
- modalities: {
104
- input: readonly ["text", "image"];
105
- output: readonly ["text"];
106
- };
107
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
108
- providers: readonly ["openai", "azure"];
109
- }>;
110
- export declare const gpt52: import("../../utils/preset").Preset<"openai/gpt-5.2", CatalogModel, {
111
- name: string;
112
- created: string;
113
- knowledge: string;
114
- context: number;
115
- modalities: {
116
- input: readonly ["text", "image"];
117
- output: readonly ["text"];
118
- };
119
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
120
- providers: readonly ["openai", "azure"];
121
- }>;
122
- export declare const gpt52Chat: import("../../utils/preset").Preset<"openai/gpt-5.2-chat", CatalogModel, {
123
- name: string;
124
- created: string;
125
- knowledge: string;
126
- context: number;
127
- modalities: {
128
- input: readonly ["text", "image"];
129
- output: readonly ["text"];
130
- };
131
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
132
- providers: readonly ["openai", "azure"];
133
- }>;
134
- export declare const gpt52Pro: import("../../utils/preset").Preset<"openai/gpt-5.2-pro", CatalogModel, {
135
- name: string;
136
- created: string;
137
- knowledge: string;
138
- context: number;
139
- modalities: {
140
- input: readonly ["text", "image"];
141
- output: readonly ["text"];
142
- };
143
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
144
- providers: readonly ["openai", "azure"];
145
- }>;
146
- export declare const gpt52Codex: import("../../utils/preset").Preset<"openai/gpt-5.2-codex", CatalogModel, {
147
- name: string;
148
- created: string;
149
- knowledge: string;
150
- modalities: {
151
- input: readonly ["text", "image"];
152
- output: readonly ["text"];
153
- };
154
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
155
- providers: readonly ["openai", "azure"];
156
- }>;
157
- export declare const gpt53Codex: import("../../utils/preset").Preset<"openai/gpt-5.3-codex", CatalogModel, {
158
- name: string;
159
- created: string;
160
- knowledge: string;
161
- modalities: {
162
- input: readonly ["text", "image"];
163
- output: readonly ["text"];
164
- };
165
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
166
- providers: readonly ["openai", "azure"];
167
- }>;
168
- export declare const textEmbedding3Small: import("../../utils/preset").Preset<"openai/text-embedding-3-small", CatalogModel, {
169
- name: string;
170
- created: string;
171
- context: number;
172
- modalities: {
173
- input: readonly ["text"];
174
- output: readonly ["embedding"];
175
- };
176
- providers: readonly ["openai", "azure"];
177
- }>;
178
- export declare const textEmbedding3Large: import("../../utils/preset").Preset<"openai/text-embedding-3-large", CatalogModel, {
179
- name: string;
180
- created: string;
181
- context: number;
182
- modalities: {
183
- input: readonly ["text"];
184
- output: readonly ["embedding"];
185
- };
186
- providers: readonly ["openai", "azure"];
187
- }>;
188
- export declare const gptOss20b: import("../../utils/preset").Preset<"openai/gpt-oss-20b", CatalogModel, {
189
- name: string;
190
- created: string;
191
- knowledge: string;
192
- modalities: {
193
- input: readonly ["text", "file"];
194
- output: readonly ["text"];
195
- };
196
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
197
- context: number;
198
- providers: readonly ["groq", "bedrock", "vertex"];
199
- }>;
200
- export declare const gptOss120b: import("../../utils/preset").Preset<"openai/gpt-oss-120b", CatalogModel, {
201
- name: string;
202
- created: string;
203
- knowledge: string;
204
- modalities: {
205
- input: readonly ["text", "file"];
206
- output: readonly ["text"];
207
- };
208
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
209
- context: number;
210
- providers: readonly ["groq", "bedrock", "vertex"];
211
- }>;
212
- export declare const gptOss: {
213
- readonly latest: readonly [import("../../utils/preset").Preset<"openai/gpt-oss-20b", CatalogModel, {
214
- name: string;
215
- created: string;
216
- knowledge: string;
217
- modalities: {
218
- input: readonly ["text", "file"];
219
- output: readonly ["text"];
220
- };
221
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
222
- context: number;
223
- providers: readonly ["groq", "bedrock", "vertex"];
224
- }>, import("../../utils/preset").Preset<"openai/gpt-oss-120b", CatalogModel, {
225
- name: string;
226
- created: string;
227
- knowledge: string;
228
- modalities: {
229
- input: readonly ["text", "file"];
230
- output: readonly ["text"];
231
- };
232
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
233
- context: number;
234
- providers: readonly ["groq", "bedrock", "vertex"];
235
- }>];
236
- readonly all: (import("../../utils/preset").Preset<"openai/gpt-oss-20b", CatalogModel, {
237
- name: string;
238
- created: string;
239
- knowledge: string;
240
- modalities: {
241
- input: readonly ["text", "file"];
242
- output: readonly ["text"];
243
- };
244
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
245
- context: number;
246
- providers: readonly ["groq", "bedrock", "vertex"];
247
- }> | import("../../utils/preset").Preset<"openai/gpt-oss-120b", CatalogModel, {
248
- name: string;
249
- created: string;
250
- knowledge: string;
251
- modalities: {
252
- input: readonly ["text", "file"];
253
- output: readonly ["text"];
254
- };
255
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
256
- context: number;
257
- providers: readonly ["groq", "bedrock", "vertex"];
258
- }>)[];
259
- readonly "v1.x": readonly [import("../../utils/preset").Preset<"openai/gpt-oss-20b", CatalogModel, {
260
- name: string;
261
- created: string;
262
- knowledge: string;
263
- modalities: {
264
- input: readonly ["text", "file"];
265
- output: readonly ["text"];
266
- };
267
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
268
- context: number;
269
- providers: readonly ["groq", "bedrock", "vertex"];
270
- }>, import("../../utils/preset").Preset<"openai/gpt-oss-120b", CatalogModel, {
271
- name: string;
272
- created: string;
273
- knowledge: string;
274
- modalities: {
275
- input: readonly ["text", "file"];
276
- output: readonly ["text"];
277
- };
278
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
279
- context: number;
280
- providers: readonly ["groq", "bedrock", "vertex"];
281
- }>];
282
- readonly v1: readonly [import("../../utils/preset").Preset<"openai/gpt-oss-20b", CatalogModel, {
283
- name: string;
284
- created: string;
285
- knowledge: string;
286
- modalities: {
287
- input: readonly ["text", "file"];
288
- output: readonly ["text"];
289
- };
290
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
291
- context: number;
292
- providers: readonly ["groq", "bedrock", "vertex"];
293
- }>, import("../../utils/preset").Preset<"openai/gpt-oss-120b", CatalogModel, {
294
- name: string;
295
- created: string;
296
- knowledge: string;
297
- modalities: {
298
- input: readonly ["text", "file"];
299
- output: readonly ["text"];
300
- };
301
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
302
- context: number;
303
- providers: readonly ["groq", "bedrock", "vertex"];
304
- }>];
305
- };
306
- export declare const gpt: {
307
- readonly latest: readonly [import("../../utils/preset").Preset<"openai/gpt-5.2", CatalogModel, {
308
- name: string;
309
- created: string;
310
- knowledge: string;
311
- context: number;
312
- modalities: {
313
- input: readonly ["text", "image"];
314
- output: readonly ["text"];
315
- };
316
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
317
- providers: readonly ["openai", "azure"];
318
- }>, import("../../utils/preset").Preset<"openai/gpt-5-mini", CatalogModel, {
319
- name: string;
320
- created: string;
321
- knowledge: string;
322
- context: number;
323
- modalities: {
324
- input: readonly ["text", "image"];
325
- output: readonly ["text"];
326
- };
327
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
328
- providers: readonly ["openai", "azure"];
329
- }>, import("../../utils/preset").Preset<"openai/gpt-5-nano", CatalogModel, {
330
- name: string;
331
- created: string;
332
- knowledge: string;
333
- context: number;
334
- modalities: {
335
- input: readonly ["text", "image"];
336
- output: readonly ["text"];
337
- };
338
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
339
- providers: readonly ["openai", "azure"];
340
- }>];
341
- readonly all: (import("../../utils/preset").Preset<"openai/gpt-5", CatalogModel, {
342
- name: string;
343
- created: string;
344
- knowledge: string;
345
- context: number;
346
- modalities: {
347
- input: readonly ["text", "image"];
348
- output: readonly ["text"];
349
- };
350
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
351
- providers: readonly ["openai", "azure"];
352
- }> | import("../../utils/preset").Preset<"openai/gpt-5-pro", CatalogModel, {
353
- name: string;
354
- created: string;
355
- knowledge: string;
356
- context: number;
357
- modalities: {
358
- input: readonly ["text", "image"];
359
- output: readonly ["text"];
360
- };
361
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
362
- providers: readonly ["openai", "azure"];
363
- }> | import("../../utils/preset").Preset<"openai/gpt-5-mini", CatalogModel, {
364
- name: string;
365
- created: string;
366
- knowledge: string;
367
- context: number;
368
- modalities: {
369
- input: readonly ["text", "image"];
370
- output: readonly ["text"];
371
- };
372
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
373
- providers: readonly ["openai", "azure"];
374
- }> | import("../../utils/preset").Preset<"openai/gpt-5-nano", CatalogModel, {
375
- name: string;
376
- created: string;
377
- knowledge: string;
378
- context: number;
379
- modalities: {
380
- input: readonly ["text", "image"];
381
- output: readonly ["text"];
382
- };
383
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
384
- providers: readonly ["openai", "azure"];
385
- }> | import("../../utils/preset").Preset<"openai/gpt-5.1", CatalogModel, {
386
- name: string;
387
- created: string;
388
- knowledge: string;
389
- context: number;
390
- modalities: {
391
- input: readonly ["text", "image"];
392
- output: readonly ["text"];
393
- };
394
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
395
- providers: readonly ["openai", "azure"];
396
- }> | import("../../utils/preset").Preset<"openai/gpt-5.1-chat", CatalogModel, {
397
- name: string;
398
- created: string;
399
- knowledge: string;
400
- context: number;
401
- modalities: {
402
- input: readonly ["text", "image"];
403
- output: readonly ["text"];
404
- };
405
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
406
- providers: readonly ["openai", "azure"];
407
- }> | import("../../utils/preset").Preset<"openai/gpt-5.1-codex", CatalogModel, {
408
- name: string;
409
- created: string;
410
- knowledge: string;
411
- context: number;
412
- modalities: {
413
- input: readonly ["text", "image"];
414
- output: readonly ["text"];
415
- };
416
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
417
- providers: readonly ["openai", "azure"];
418
- }> | import("../../utils/preset").Preset<"openai/gpt-5.1-codex-max", CatalogModel, {
419
- name: string;
420
- created: string;
421
- knowledge: string;
422
- context: number;
423
- modalities: {
424
- input: readonly ["text", "image"];
425
- output: readonly ["text"];
426
- };
427
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
428
- providers: readonly ["openai", "azure"];
429
- }> | import("../../utils/preset").Preset<"openai/gpt-5-codex", CatalogModel, {
430
- name: string;
431
- created: string;
432
- knowledge: string;
433
- context: number;
434
- modalities: {
435
- input: readonly ["text", "image"];
436
- output: readonly ["text"];
437
- };
438
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
439
- providers: readonly ["openai", "azure"];
440
- }> | import("../../utils/preset").Preset<"openai/gpt-5.2", CatalogModel, {
441
- name: string;
442
- created: string;
443
- knowledge: string;
444
- context: number;
445
- modalities: {
446
- input: readonly ["text", "image"];
447
- output: readonly ["text"];
448
- };
449
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
450
- providers: readonly ["openai", "azure"];
451
- }> | import("../../utils/preset").Preset<"openai/gpt-5.2-chat", CatalogModel, {
452
- name: string;
453
- created: string;
454
- knowledge: string;
455
- context: number;
456
- modalities: {
457
- input: readonly ["text", "image"];
458
- output: readonly ["text"];
459
- };
460
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
461
- providers: readonly ["openai", "azure"];
462
- }> | import("../../utils/preset").Preset<"openai/gpt-5.2-pro", CatalogModel, {
463
- name: string;
464
- created: string;
465
- knowledge: string;
466
- context: number;
467
- modalities: {
468
- input: readonly ["text", "image"];
469
- output: readonly ["text"];
470
- };
471
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
472
- providers: readonly ["openai", "azure"];
473
- }> | import("../../utils/preset").Preset<"openai/gpt-5.2-codex", CatalogModel, {
474
- name: string;
475
- created: string;
476
- knowledge: string;
477
- modalities: {
478
- input: readonly ["text", "image"];
479
- output: readonly ["text"];
480
- };
481
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
482
- providers: readonly ["openai", "azure"];
483
- }> | import("../../utils/preset").Preset<"openai/gpt-5.3-codex", CatalogModel, {
484
- name: string;
485
- created: string;
486
- knowledge: string;
487
- modalities: {
488
- input: readonly ["text", "image"];
489
- output: readonly ["text"];
490
- };
491
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
492
- providers: readonly ["openai", "azure"];
493
- }>)[];
494
- readonly "v5.x": readonly [import("../../utils/preset").Preset<"openai/gpt-5", CatalogModel, {
495
- name: string;
496
- created: string;
497
- knowledge: string;
498
- context: number;
499
- modalities: {
500
- input: readonly ["text", "image"];
501
- output: readonly ["text"];
502
- };
503
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
504
- providers: readonly ["openai", "azure"];
505
- }>, import("../../utils/preset").Preset<"openai/gpt-5-mini", CatalogModel, {
506
- name: string;
507
- created: string;
508
- knowledge: string;
509
- context: number;
510
- modalities: {
511
- input: readonly ["text", "image"];
512
- output: readonly ["text"];
513
- };
514
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
515
- providers: readonly ["openai", "azure"];
516
- }>, import("../../utils/preset").Preset<"openai/gpt-5-nano", CatalogModel, {
517
- name: string;
518
- created: string;
519
- knowledge: string;
520
- context: number;
521
- modalities: {
522
- input: readonly ["text", "image"];
523
- output: readonly ["text"];
524
- };
525
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
526
- providers: readonly ["openai", "azure"];
527
- }>, import("../../utils/preset").Preset<"openai/gpt-5-pro", CatalogModel, {
528
- name: string;
529
- created: string;
530
- knowledge: string;
531
- context: number;
532
- modalities: {
533
- input: readonly ["text", "image"];
534
- output: readonly ["text"];
535
- };
536
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
537
- providers: readonly ["openai", "azure"];
538
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1", CatalogModel, {
539
- name: string;
540
- created: string;
541
- knowledge: string;
542
- context: number;
543
- modalities: {
544
- input: readonly ["text", "image"];
545
- output: readonly ["text"];
546
- };
547
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
548
- providers: readonly ["openai", "azure"];
549
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-chat", CatalogModel, {
550
- name: string;
551
- created: string;
552
- knowledge: string;
553
- context: number;
554
- modalities: {
555
- input: readonly ["text", "image"];
556
- output: readonly ["text"];
557
- };
558
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
559
- providers: readonly ["openai", "azure"];
560
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex", CatalogModel, {
561
- name: string;
562
- created: string;
563
- knowledge: string;
564
- context: number;
565
- modalities: {
566
- input: readonly ["text", "image"];
567
- output: readonly ["text"];
568
- };
569
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
570
- providers: readonly ["openai", "azure"];
571
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex-max", CatalogModel, {
572
- name: string;
573
- created: string;
574
- knowledge: string;
575
- context: number;
576
- modalities: {
577
- input: readonly ["text", "image"];
578
- output: readonly ["text"];
579
- };
580
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
581
- providers: readonly ["openai", "azure"];
582
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2", CatalogModel, {
583
- name: string;
584
- created: string;
585
- knowledge: string;
586
- context: number;
587
- modalities: {
588
- input: readonly ["text", "image"];
589
- output: readonly ["text"];
590
- };
591
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
592
- providers: readonly ["openai", "azure"];
593
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-chat", CatalogModel, {
594
- name: string;
595
- created: string;
596
- knowledge: string;
597
- context: number;
598
- modalities: {
599
- input: readonly ["text", "image"];
600
- output: readonly ["text"];
601
- };
602
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
603
- providers: readonly ["openai", "azure"];
604
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-pro", CatalogModel, {
605
- name: string;
606
- created: string;
607
- knowledge: string;
608
- context: number;
609
- modalities: {
610
- input: readonly ["text", "image"];
611
- output: readonly ["text"];
612
- };
613
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
614
- providers: readonly ["openai", "azure"];
615
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-codex", CatalogModel, {
616
- name: string;
617
- created: string;
618
- knowledge: string;
619
- modalities: {
620
- input: readonly ["text", "image"];
621
- output: readonly ["text"];
622
- };
623
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
624
- providers: readonly ["openai", "azure"];
625
- }>, import("../../utils/preset").Preset<"openai/gpt-5.3-codex", CatalogModel, {
626
- name: string;
627
- created: string;
628
- knowledge: string;
629
- modalities: {
630
- input: readonly ["text", "image"];
631
- output: readonly ["text"];
632
- };
633
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
634
- providers: readonly ["openai", "azure"];
635
- }>];
636
- readonly v5: readonly [import("../../utils/preset").Preset<"openai/gpt-5", CatalogModel, {
637
- name: string;
638
- created: string;
639
- knowledge: string;
640
- context: number;
641
- modalities: {
642
- input: readonly ["text", "image"];
643
- output: readonly ["text"];
644
- };
645
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
646
- providers: readonly ["openai", "azure"];
647
- }>, import("../../utils/preset").Preset<"openai/gpt-5-mini", CatalogModel, {
648
- name: string;
649
- created: string;
650
- knowledge: string;
651
- context: number;
652
- modalities: {
653
- input: readonly ["text", "image"];
654
- output: readonly ["text"];
655
- };
656
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
657
- providers: readonly ["openai", "azure"];
658
- }>, import("../../utils/preset").Preset<"openai/gpt-5-nano", CatalogModel, {
659
- name: string;
660
- created: string;
661
- knowledge: string;
662
- context: number;
663
- modalities: {
664
- input: readonly ["text", "image"];
665
- output: readonly ["text"];
666
- };
667
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
668
- providers: readonly ["openai", "azure"];
669
- }>, import("../../utils/preset").Preset<"openai/gpt-5-pro", CatalogModel, {
670
- name: string;
671
- created: string;
672
- knowledge: string;
673
- context: number;
674
- modalities: {
675
- input: readonly ["text", "image"];
676
- output: readonly ["text"];
677
- };
678
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
679
- providers: readonly ["openai", "azure"];
680
- }>];
681
- readonly "v5.1": readonly [import("../../utils/preset").Preset<"openai/gpt-5.1", CatalogModel, {
682
- name: string;
683
- created: string;
684
- knowledge: string;
685
- context: number;
686
- modalities: {
687
- input: readonly ["text", "image"];
688
- output: readonly ["text"];
689
- };
690
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
691
- providers: readonly ["openai", "azure"];
692
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-chat", CatalogModel, {
693
- name: string;
694
- created: string;
695
- knowledge: string;
696
- context: number;
697
- modalities: {
698
- input: readonly ["text", "image"];
699
- output: readonly ["text"];
700
- };
701
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
702
- providers: readonly ["openai", "azure"];
703
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex", CatalogModel, {
704
- name: string;
705
- created: string;
706
- knowledge: string;
707
- context: number;
708
- modalities: {
709
- input: readonly ["text", "image"];
710
- output: readonly ["text"];
711
- };
712
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
713
- providers: readonly ["openai", "azure"];
714
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex-max", CatalogModel, {
715
- name: string;
716
- created: string;
717
- knowledge: string;
718
- context: number;
719
- modalities: {
720
- input: readonly ["text", "image"];
721
- output: readonly ["text"];
722
- };
723
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
724
- providers: readonly ["openai", "azure"];
725
- }>];
726
- readonly "v5.2": readonly [import("../../utils/preset").Preset<"openai/gpt-5.2", CatalogModel, {
727
- name: string;
728
- created: string;
729
- knowledge: string;
730
- context: number;
731
- modalities: {
732
- input: readonly ["text", "image"];
733
- output: readonly ["text"];
734
- };
735
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
736
- providers: readonly ["openai", "azure"];
737
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-chat", CatalogModel, {
738
- name: string;
739
- created: string;
740
- knowledge: string;
741
- context: number;
742
- modalities: {
743
- input: readonly ["text", "image"];
744
- output: readonly ["text"];
745
- };
746
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
747
- providers: readonly ["openai", "azure"];
748
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-pro", CatalogModel, {
749
- name: string;
750
- created: string;
751
- knowledge: string;
752
- context: number;
753
- modalities: {
754
- input: readonly ["text", "image"];
755
- output: readonly ["text"];
756
- };
757
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
758
- providers: readonly ["openai", "azure"];
759
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-codex", CatalogModel, {
760
- name: string;
761
- created: string;
762
- knowledge: string;
763
- modalities: {
764
- input: readonly ["text", "image"];
765
- output: readonly ["text"];
766
- };
767
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
768
- providers: readonly ["openai", "azure"];
769
- }>];
770
- readonly "v5.3": readonly [import("../../utils/preset").Preset<"openai/gpt-5.3-codex", CatalogModel, {
771
- name: string;
772
- created: string;
773
- knowledge: string;
774
- modalities: {
775
- input: readonly ["text", "image"];
776
- output: readonly ["text"];
777
- };
778
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
779
- providers: readonly ["openai", "azure"];
780
- }>];
781
- readonly codex: readonly [import("../../utils/preset").Preset<"openai/gpt-5-codex", CatalogModel, {
782
- name: string;
783
- created: string;
784
- knowledge: string;
785
- context: number;
786
- modalities: {
787
- input: readonly ["text", "image"];
788
- output: readonly ["text"];
789
- };
790
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
791
- providers: readonly ["openai", "azure"];
792
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex", CatalogModel, {
793
- name: string;
794
- created: string;
795
- knowledge: string;
796
- context: number;
797
- modalities: {
798
- input: readonly ["text", "image"];
799
- output: readonly ["text"];
800
- };
801
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
802
- providers: readonly ["openai", "azure"];
803
- }>, import("../../utils/preset").Preset<"openai/gpt-5.1-codex-max", CatalogModel, {
804
- name: string;
805
- created: string;
806
- knowledge: string;
807
- context: number;
808
- modalities: {
809
- input: readonly ["text", "image"];
810
- output: readonly ["text"];
811
- };
812
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
813
- providers: readonly ["openai", "azure"];
814
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-codex", CatalogModel, {
815
- name: string;
816
- created: string;
817
- knowledge: string;
818
- modalities: {
819
- input: readonly ["text", "image"];
820
- output: readonly ["text"];
821
- };
822
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
823
- providers: readonly ["openai", "azure"];
824
- }>, import("../../utils/preset").Preset<"openai/gpt-5.3-codex", CatalogModel, {
825
- name: string;
826
- created: string;
827
- knowledge: string;
828
- modalities: {
829
- input: readonly ["text", "image"];
830
- output: readonly ["text"];
831
- };
832
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
833
- providers: readonly ["openai", "azure"];
834
- }>];
835
- readonly chat: readonly [import("../../utils/preset").Preset<"openai/gpt-5.1-chat", CatalogModel, {
836
- name: string;
837
- created: string;
838
- knowledge: string;
839
- context: number;
840
- modalities: {
841
- input: readonly ["text", "image"];
842
- output: readonly ["text"];
843
- };
844
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
845
- providers: readonly ["openai", "azure"];
846
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-chat", CatalogModel, {
847
- name: string;
848
- created: string;
849
- knowledge: string;
850
- context: number;
851
- modalities: {
852
- input: readonly ["text", "image"];
853
- output: readonly ["text"];
854
- };
855
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
856
- providers: readonly ["openai", "azure"];
857
- }>];
858
- readonly pro: readonly [import("../../utils/preset").Preset<"openai/gpt-5-pro", CatalogModel, {
859
- name: string;
860
- created: string;
861
- knowledge: string;
862
- context: number;
863
- modalities: {
864
- input: readonly ["text", "image"];
865
- output: readonly ["text"];
866
- };
867
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
868
- providers: readonly ["openai", "azure"];
869
- }>, import("../../utils/preset").Preset<"openai/gpt-5.2-pro", CatalogModel, {
870
- name: string;
871
- created: string;
872
- knowledge: string;
873
- context: number;
874
- modalities: {
875
- input: readonly ["text", "image"];
876
- output: readonly ["text"];
877
- };
878
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
879
- providers: readonly ["openai", "azure"];
880
- }>];
881
- };
882
- export declare const textEmbeddings: {
883
- readonly latest: readonly [import("../../utils/preset").Preset<"openai/text-embedding-3-small", CatalogModel, {
884
- name: string;
885
- created: string;
886
- context: number;
887
- modalities: {
888
- input: readonly ["text"];
889
- output: readonly ["embedding"];
890
- };
891
- providers: readonly ["openai", "azure"];
892
- }>, import("../../utils/preset").Preset<"openai/text-embedding-3-large", CatalogModel, {
893
- name: string;
894
- created: string;
895
- context: number;
896
- modalities: {
897
- input: readonly ["text"];
898
- output: readonly ["embedding"];
899
- };
900
- providers: readonly ["openai", "azure"];
901
- }>];
902
- readonly all: (import("../../utils/preset").Preset<"openai/text-embedding-3-small", CatalogModel, {
903
- name: string;
904
- created: string;
905
- context: number;
906
- modalities: {
907
- input: readonly ["text"];
908
- output: readonly ["embedding"];
909
- };
910
- providers: readonly ["openai", "azure"];
911
- }> | import("../../utils/preset").Preset<"openai/text-embedding-3-large", CatalogModel, {
912
- name: string;
913
- created: string;
914
- context: number;
915
- modalities: {
916
- input: readonly ["text"];
917
- output: readonly ["embedding"];
918
- };
919
- providers: readonly ["openai", "azure"];
920
- }>)[];
921
- readonly "v3.x": readonly [import("../../utils/preset").Preset<"openai/text-embedding-3-small", CatalogModel, {
922
- name: string;
923
- created: string;
924
- context: number;
925
- modalities: {
926
- input: readonly ["text"];
927
- output: readonly ["embedding"];
928
- };
929
- providers: readonly ["openai", "azure"];
930
- }>, import("../../utils/preset").Preset<"openai/text-embedding-3-large", CatalogModel, {
931
- name: string;
932
- created: string;
933
- context: number;
934
- modalities: {
935
- input: readonly ["text"];
936
- output: readonly ["embedding"];
937
- };
938
- providers: readonly ["openai", "azure"];
939
- }>];
940
- readonly v3: readonly [import("../../utils/preset").Preset<"openai/text-embedding-3-small", CatalogModel, {
941
- name: string;
942
- created: string;
943
- context: number;
944
- modalities: {
945
- input: readonly ["text"];
946
- output: readonly ["embedding"];
947
- };
948
- providers: readonly ["openai", "azure"];
949
- }>, import("../../utils/preset").Preset<"openai/text-embedding-3-large", CatalogModel, {
950
- name: string;
951
- created: string;
952
- context: number;
953
- modalities: {
954
- input: readonly ["text"];
955
- output: readonly ["embedding"];
956
- };
957
- providers: readonly ["openai", "azure"];
958
- }>];
959
- };