@hebo-ai/gateway 0.1.2 → 0.2.0

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