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