@hebo-ai/gateway 0.8.0-rc3 → 0.8.1
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.
- package/dist/endpoints/conversations/storage/dialects/mysql.js +3 -1
- package/dist/endpoints/conversations/storage/dialects/postgres.js +8 -2
- package/dist/endpoints/conversations/storage/dialects/sqlite.js +3 -1
- package/dist/models/anthropic/presets.d.ts +62 -62
- package/dist/models/anthropic/presets.js +1 -1
- package/dist/models/cohere/presets.d.ts +32 -32
- package/dist/models/cohere/presets.js +9 -9
- package/dist/models/meta/presets.d.ts +42 -42
- package/dist/models/meta/presets.js +2 -2
- package/dist/models/openai/presets.d.ts +363 -3
- package/dist/models/openai/presets.js +71 -7
- package/dist/models/types.d.ts +1 -1
- package/dist/models/types.js +7 -0
- package/package.json +1 -1
|
@@ -89,7 +89,9 @@ function createBunMysqlExecutor(sql) {
|
|
|
89
89
|
},
|
|
90
90
|
transaction(fn) {
|
|
91
91
|
return sql.transaction((tx) => {
|
|
92
|
-
|
|
92
|
+
const txExecutor = createBunMysqlExecutor(tx);
|
|
93
|
+
txExecutor.transaction = (f) => f(txExecutor);
|
|
94
|
+
return fn(txExecutor);
|
|
93
95
|
});
|
|
94
96
|
},
|
|
95
97
|
};
|
|
@@ -116,7 +116,11 @@ function createPostgresJsExecutor(sql, mapParams) {
|
|
|
116
116
|
return { changes: Number(result.count ?? 0) };
|
|
117
117
|
},
|
|
118
118
|
async transaction(fn) {
|
|
119
|
-
return (await sql.begin((tx) =>
|
|
119
|
+
return (await sql.begin((tx) => {
|
|
120
|
+
const txExecutor = createPostgresJsExecutor(tx, mapParams);
|
|
121
|
+
txExecutor.transaction = (f) => f(txExecutor);
|
|
122
|
+
return fn(txExecutor);
|
|
123
|
+
}));
|
|
120
124
|
},
|
|
121
125
|
};
|
|
122
126
|
return executor;
|
|
@@ -148,7 +152,9 @@ function createBunPostgresExecutor(sql, mapParams) {
|
|
|
148
152
|
},
|
|
149
153
|
transaction(fn) {
|
|
150
154
|
return sql.transaction((tx) => {
|
|
151
|
-
|
|
155
|
+
const txExecutor = createBunPostgresExecutor(tx, mapParams);
|
|
156
|
+
txExecutor.transaction = (f) => f(txExecutor);
|
|
157
|
+
return fn(txExecutor);
|
|
152
158
|
});
|
|
153
159
|
},
|
|
154
160
|
};
|
|
@@ -145,7 +145,9 @@ function createBunSqliteExecutor(sql) {
|
|
|
145
145
|
},
|
|
146
146
|
transaction(fn) {
|
|
147
147
|
return sql.transaction((tx) => {
|
|
148
|
-
|
|
148
|
+
const txExecutor = createBunSqliteExecutor(tx);
|
|
149
|
+
txExecutor.transaction = (f) => f(txExecutor);
|
|
150
|
+
return fn(txExecutor);
|
|
149
151
|
});
|
|
150
152
|
},
|
|
151
153
|
};
|
|
@@ -9,7 +9,7 @@ export declare const claudeHaiku45: import("../../utils/preset").Preset<"anthrop
|
|
|
9
9
|
output: readonly ["text"];
|
|
10
10
|
};
|
|
11
11
|
context: number;
|
|
12
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
12
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
13
13
|
}>;
|
|
14
14
|
export declare const claudeHaiku35: import("../../utils/preset").Preset<"anthropic/claude-haiku-3.5", CatalogModel, {
|
|
15
15
|
name: string;
|
|
@@ -21,7 +21,7 @@ export declare const claudeHaiku35: import("../../utils/preset").Preset<"anthrop
|
|
|
21
21
|
};
|
|
22
22
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
23
23
|
context: number;
|
|
24
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
24
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
25
25
|
}>;
|
|
26
26
|
export declare const claudeHaiku3: import("../../utils/preset").Preset<"anthropic/claude-haiku-3", CatalogModel, {
|
|
27
27
|
name: string;
|
|
@@ -33,7 +33,7 @@ export declare const claudeHaiku3: import("../../utils/preset").Preset<"anthropi
|
|
|
33
33
|
};
|
|
34
34
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
35
35
|
context: number;
|
|
36
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
36
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
37
37
|
}>;
|
|
38
38
|
export declare const claudeSonnet45: import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.5", CatalogModel, {
|
|
39
39
|
name: string;
|
|
@@ -45,7 +45,7 @@ export declare const claudeSonnet45: import("../../utils/preset").Preset<"anthro
|
|
|
45
45
|
output: readonly ["text"];
|
|
46
46
|
};
|
|
47
47
|
context: number;
|
|
48
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
48
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
49
49
|
}>;
|
|
50
50
|
export declare const claudeSonnet46: import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
51
51
|
name: string;
|
|
@@ -57,7 +57,7 @@ export declare const claudeSonnet46: import("../../utils/preset").Preset<"anthro
|
|
|
57
57
|
output: readonly ["text"];
|
|
58
58
|
};
|
|
59
59
|
context: number;
|
|
60
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
60
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
61
61
|
}>;
|
|
62
62
|
export declare const claudeSonnet4: import("../../utils/preset").Preset<"anthropic/claude-sonnet-4", CatalogModel, {
|
|
63
63
|
name: string;
|
|
@@ -69,7 +69,7 @@ export declare const claudeSonnet4: import("../../utils/preset").Preset<"anthrop
|
|
|
69
69
|
output: readonly ["text"];
|
|
70
70
|
};
|
|
71
71
|
context: number;
|
|
72
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
72
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
73
73
|
}>;
|
|
74
74
|
export declare const claudeSonnet37: import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.7", CatalogModel, {
|
|
75
75
|
name: string;
|
|
@@ -81,7 +81,7 @@ export declare const claudeSonnet37: import("../../utils/preset").Preset<"anthro
|
|
|
81
81
|
output: readonly ["text"];
|
|
82
82
|
};
|
|
83
83
|
context: number;
|
|
84
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
84
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
85
85
|
}>;
|
|
86
86
|
export declare const claudeSonnet35: import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.5", CatalogModel, {
|
|
87
87
|
name: string;
|
|
@@ -93,7 +93,7 @@ export declare const claudeSonnet35: import("../../utils/preset").Preset<"anthro
|
|
|
93
93
|
};
|
|
94
94
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
95
95
|
context: number;
|
|
96
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
96
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
97
97
|
}>;
|
|
98
98
|
export declare const claudeOpus45: import("../../utils/preset").Preset<"anthropic/claude-opus-4.5", CatalogModel, {
|
|
99
99
|
name: string;
|
|
@@ -105,7 +105,7 @@ export declare const claudeOpus45: import("../../utils/preset").Preset<"anthropi
|
|
|
105
105
|
output: readonly ["text"];
|
|
106
106
|
};
|
|
107
107
|
context: number;
|
|
108
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
108
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
109
109
|
}>;
|
|
110
110
|
export declare const claudeOpus46: import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
111
111
|
name: string;
|
|
@@ -117,7 +117,7 @@ export declare const claudeOpus46: import("../../utils/preset").Preset<"anthropi
|
|
|
117
117
|
output: readonly ["text"];
|
|
118
118
|
};
|
|
119
119
|
context: number;
|
|
120
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
120
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
121
121
|
}>;
|
|
122
122
|
export declare const claudeOpus41: import("../../utils/preset").Preset<"anthropic/claude-opus-4.1", CatalogModel, {
|
|
123
123
|
name: string;
|
|
@@ -129,7 +129,7 @@ export declare const claudeOpus41: import("../../utils/preset").Preset<"anthropi
|
|
|
129
129
|
output: readonly ["text"];
|
|
130
130
|
};
|
|
131
131
|
context: number;
|
|
132
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
132
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
133
133
|
}>;
|
|
134
134
|
export declare const claudeOpus4: import("../../utils/preset").Preset<"anthropic/claude-opus-4", CatalogModel, {
|
|
135
135
|
name: string;
|
|
@@ -141,7 +141,7 @@ export declare const claudeOpus4: import("../../utils/preset").Preset<"anthropic
|
|
|
141
141
|
output: readonly ["text"];
|
|
142
142
|
};
|
|
143
143
|
context: number;
|
|
144
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
144
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
145
145
|
}>;
|
|
146
146
|
export declare const claude: {
|
|
147
147
|
readonly latest: readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
@@ -154,7 +154,7 @@ export declare const claude: {
|
|
|
154
154
|
output: readonly ["text"];
|
|
155
155
|
};
|
|
156
156
|
context: number;
|
|
157
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
157
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
158
158
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
159
159
|
name: string;
|
|
160
160
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -165,7 +165,7 @@ export declare const claude: {
|
|
|
165
165
|
output: readonly ["text"];
|
|
166
166
|
};
|
|
167
167
|
context: number;
|
|
168
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
168
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
169
169
|
}>];
|
|
170
170
|
readonly all: (import("../../utils/preset").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
|
|
171
171
|
name: string;
|
|
@@ -177,7 +177,7 @@ export declare const claude: {
|
|
|
177
177
|
output: readonly ["text"];
|
|
178
178
|
};
|
|
179
179
|
context: number;
|
|
180
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
180
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
181
181
|
}> | import("../../utils/preset").Preset<"anthropic/claude-haiku-3.5", CatalogModel, {
|
|
182
182
|
name: string;
|
|
183
183
|
created: string;
|
|
@@ -188,7 +188,7 @@ export declare const claude: {
|
|
|
188
188
|
};
|
|
189
189
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
190
190
|
context: number;
|
|
191
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
191
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
192
192
|
}> | import("../../utils/preset").Preset<"anthropic/claude-haiku-3", CatalogModel, {
|
|
193
193
|
name: string;
|
|
194
194
|
created: string;
|
|
@@ -199,7 +199,7 @@ export declare const claude: {
|
|
|
199
199
|
};
|
|
200
200
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
201
201
|
context: number;
|
|
202
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
202
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
203
203
|
}> | import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.5", CatalogModel, {
|
|
204
204
|
name: string;
|
|
205
205
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -210,7 +210,7 @@ export declare const claude: {
|
|
|
210
210
|
output: readonly ["text"];
|
|
211
211
|
};
|
|
212
212
|
context: number;
|
|
213
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
213
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
214
214
|
}> | import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
215
215
|
name: string;
|
|
216
216
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -221,7 +221,7 @@ export declare const claude: {
|
|
|
221
221
|
output: readonly ["text"];
|
|
222
222
|
};
|
|
223
223
|
context: number;
|
|
224
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
224
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
225
225
|
}> | import("../../utils/preset").Preset<"anthropic/claude-sonnet-4", CatalogModel, {
|
|
226
226
|
name: string;
|
|
227
227
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -232,7 +232,7 @@ export declare const claude: {
|
|
|
232
232
|
output: readonly ["text"];
|
|
233
233
|
};
|
|
234
234
|
context: number;
|
|
235
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
235
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
236
236
|
}> | import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.7", CatalogModel, {
|
|
237
237
|
name: string;
|
|
238
238
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -243,7 +243,7 @@ export declare const claude: {
|
|
|
243
243
|
output: readonly ["text"];
|
|
244
244
|
};
|
|
245
245
|
context: number;
|
|
246
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
246
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
247
247
|
}> | import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.5", CatalogModel, {
|
|
248
248
|
name: string;
|
|
249
249
|
created: string;
|
|
@@ -254,7 +254,7 @@ export declare const claude: {
|
|
|
254
254
|
};
|
|
255
255
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
256
256
|
context: number;
|
|
257
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
257
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
258
258
|
}> | import("../../utils/preset").Preset<"anthropic/claude-opus-4.5", CatalogModel, {
|
|
259
259
|
name: string;
|
|
260
260
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -265,7 +265,7 @@ export declare const claude: {
|
|
|
265
265
|
output: readonly ["text"];
|
|
266
266
|
};
|
|
267
267
|
context: number;
|
|
268
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
268
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
269
269
|
}> | import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
270
270
|
name: string;
|
|
271
271
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -276,7 +276,7 @@ export declare const claude: {
|
|
|
276
276
|
output: readonly ["text"];
|
|
277
277
|
};
|
|
278
278
|
context: number;
|
|
279
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
279
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
280
280
|
}> | import("../../utils/preset").Preset<"anthropic/claude-opus-4.1", CatalogModel, {
|
|
281
281
|
name: string;
|
|
282
282
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -287,7 +287,7 @@ export declare const claude: {
|
|
|
287
287
|
output: readonly ["text"];
|
|
288
288
|
};
|
|
289
289
|
context: number;
|
|
290
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
290
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
291
291
|
}> | import("../../utils/preset").Preset<"anthropic/claude-opus-4", CatalogModel, {
|
|
292
292
|
name: string;
|
|
293
293
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -298,7 +298,7 @@ export declare const claude: {
|
|
|
298
298
|
output: readonly ["text"];
|
|
299
299
|
};
|
|
300
300
|
context: number;
|
|
301
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
301
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
302
302
|
}>)[];
|
|
303
303
|
readonly "v4.x": readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
304
304
|
name: string;
|
|
@@ -310,7 +310,7 @@ export declare const claude: {
|
|
|
310
310
|
output: readonly ["text"];
|
|
311
311
|
};
|
|
312
312
|
context: number;
|
|
313
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
313
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
314
314
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
315
315
|
name: string;
|
|
316
316
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -321,7 +321,7 @@ export declare const claude: {
|
|
|
321
321
|
output: readonly ["text"];
|
|
322
322
|
};
|
|
323
323
|
context: number;
|
|
324
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
324
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
325
325
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
|
|
326
326
|
name: string;
|
|
327
327
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -332,7 +332,7 @@ export declare const claude: {
|
|
|
332
332
|
output: readonly ["text"];
|
|
333
333
|
};
|
|
334
334
|
context: number;
|
|
335
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
335
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
336
336
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.5", CatalogModel, {
|
|
337
337
|
name: string;
|
|
338
338
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -343,7 +343,7 @@ export declare const claude: {
|
|
|
343
343
|
output: readonly ["text"];
|
|
344
344
|
};
|
|
345
345
|
context: number;
|
|
346
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
346
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
347
347
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.5", CatalogModel, {
|
|
348
348
|
name: string;
|
|
349
349
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -354,7 +354,7 @@ export declare const claude: {
|
|
|
354
354
|
output: readonly ["text"];
|
|
355
355
|
};
|
|
356
356
|
context: number;
|
|
357
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
357
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
358
358
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.1", CatalogModel, {
|
|
359
359
|
name: string;
|
|
360
360
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -365,7 +365,7 @@ export declare const claude: {
|
|
|
365
365
|
output: readonly ["text"];
|
|
366
366
|
};
|
|
367
367
|
context: number;
|
|
368
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
368
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
369
369
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-4", CatalogModel, {
|
|
370
370
|
name: string;
|
|
371
371
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -376,7 +376,7 @@ export declare const claude: {
|
|
|
376
376
|
output: readonly ["text"];
|
|
377
377
|
};
|
|
378
378
|
context: number;
|
|
379
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
379
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
380
380
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4", CatalogModel, {
|
|
381
381
|
name: string;
|
|
382
382
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -387,7 +387,7 @@ export declare const claude: {
|
|
|
387
387
|
output: readonly ["text"];
|
|
388
388
|
};
|
|
389
389
|
context: number;
|
|
390
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
390
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
391
391
|
}>];
|
|
392
392
|
readonly "v3.x": readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.7", CatalogModel, {
|
|
393
393
|
name: string;
|
|
@@ -399,7 +399,7 @@ export declare const claude: {
|
|
|
399
399
|
output: readonly ["text"];
|
|
400
400
|
};
|
|
401
401
|
context: number;
|
|
402
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
402
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
403
403
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.5", CatalogModel, {
|
|
404
404
|
name: string;
|
|
405
405
|
created: string;
|
|
@@ -410,7 +410,7 @@ export declare const claude: {
|
|
|
410
410
|
};
|
|
411
411
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
412
412
|
context: number;
|
|
413
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
413
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
414
414
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-3.5", CatalogModel, {
|
|
415
415
|
name: string;
|
|
416
416
|
created: string;
|
|
@@ -421,7 +421,7 @@ export declare const claude: {
|
|
|
421
421
|
};
|
|
422
422
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
423
423
|
context: number;
|
|
424
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
424
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
425
425
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-3", CatalogModel, {
|
|
426
426
|
name: string;
|
|
427
427
|
created: string;
|
|
@@ -432,7 +432,7 @@ export declare const claude: {
|
|
|
432
432
|
};
|
|
433
433
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
434
434
|
context: number;
|
|
435
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
435
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
436
436
|
}>];
|
|
437
437
|
readonly "v4.6": readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
438
438
|
name: string;
|
|
@@ -444,7 +444,7 @@ export declare const claude: {
|
|
|
444
444
|
output: readonly ["text"];
|
|
445
445
|
};
|
|
446
446
|
context: number;
|
|
447
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
447
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
448
448
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
449
449
|
name: string;
|
|
450
450
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -455,7 +455,7 @@ export declare const claude: {
|
|
|
455
455
|
output: readonly ["text"];
|
|
456
456
|
};
|
|
457
457
|
context: number;
|
|
458
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
458
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
459
459
|
}>];
|
|
460
460
|
readonly "v4.5": readonly [import("../../utils/preset").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
|
|
461
461
|
name: string;
|
|
@@ -467,7 +467,7 @@ export declare const claude: {
|
|
|
467
467
|
output: readonly ["text"];
|
|
468
468
|
};
|
|
469
469
|
context: number;
|
|
470
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
470
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
471
471
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.5", CatalogModel, {
|
|
472
472
|
name: string;
|
|
473
473
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -478,7 +478,7 @@ export declare const claude: {
|
|
|
478
478
|
output: readonly ["text"];
|
|
479
479
|
};
|
|
480
480
|
context: number;
|
|
481
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
481
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
482
482
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.5", CatalogModel, {
|
|
483
483
|
name: string;
|
|
484
484
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -489,7 +489,7 @@ export declare const claude: {
|
|
|
489
489
|
output: readonly ["text"];
|
|
490
490
|
};
|
|
491
491
|
context: number;
|
|
492
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
492
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
493
493
|
}>];
|
|
494
494
|
readonly "v4.1": readonly [import("../../utils/preset").Preset<"anthropic/claude-opus-4.1", CatalogModel, {
|
|
495
495
|
name: string;
|
|
@@ -501,7 +501,7 @@ export declare const claude: {
|
|
|
501
501
|
output: readonly ["text"];
|
|
502
502
|
};
|
|
503
503
|
context: number;
|
|
504
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
504
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
505
505
|
}>];
|
|
506
506
|
readonly v4: readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-4", CatalogModel, {
|
|
507
507
|
name: string;
|
|
@@ -513,7 +513,7 @@ export declare const claude: {
|
|
|
513
513
|
output: readonly ["text"];
|
|
514
514
|
};
|
|
515
515
|
context: number;
|
|
516
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
516
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
517
517
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4", CatalogModel, {
|
|
518
518
|
name: string;
|
|
519
519
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -524,7 +524,7 @@ export declare const claude: {
|
|
|
524
524
|
output: readonly ["text"];
|
|
525
525
|
};
|
|
526
526
|
context: number;
|
|
527
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
527
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
528
528
|
}>];
|
|
529
529
|
readonly "v3.7": readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.7", CatalogModel, {
|
|
530
530
|
name: string;
|
|
@@ -536,7 +536,7 @@ export declare const claude: {
|
|
|
536
536
|
output: readonly ["text"];
|
|
537
537
|
};
|
|
538
538
|
context: number;
|
|
539
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
539
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
540
540
|
}>];
|
|
541
541
|
readonly "v3.5": readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.5", CatalogModel, {
|
|
542
542
|
name: string;
|
|
@@ -548,7 +548,7 @@ export declare const claude: {
|
|
|
548
548
|
};
|
|
549
549
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
550
550
|
context: number;
|
|
551
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
551
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
552
552
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-3.5", CatalogModel, {
|
|
553
553
|
name: string;
|
|
554
554
|
created: string;
|
|
@@ -559,7 +559,7 @@ export declare const claude: {
|
|
|
559
559
|
};
|
|
560
560
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
561
561
|
context: number;
|
|
562
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
562
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
563
563
|
}>];
|
|
564
564
|
readonly v3: readonly [import("../../utils/preset").Preset<"anthropic/claude-haiku-3", CatalogModel, {
|
|
565
565
|
name: string;
|
|
@@ -571,7 +571,7 @@ export declare const claude: {
|
|
|
571
571
|
};
|
|
572
572
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
573
573
|
context: number;
|
|
574
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
574
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
575
575
|
}>];
|
|
576
576
|
readonly haiku: readonly [import("../../utils/preset").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
|
|
577
577
|
name: string;
|
|
@@ -583,7 +583,7 @@ export declare const claude: {
|
|
|
583
583
|
output: readonly ["text"];
|
|
584
584
|
};
|
|
585
585
|
context: number;
|
|
586
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
586
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
587
587
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-3.5", CatalogModel, {
|
|
588
588
|
name: string;
|
|
589
589
|
created: string;
|
|
@@ -594,7 +594,7 @@ export declare const claude: {
|
|
|
594
594
|
};
|
|
595
595
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
596
596
|
context: number;
|
|
597
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
597
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
598
598
|
}>, import("../../utils/preset").Preset<"anthropic/claude-haiku-3", CatalogModel, {
|
|
599
599
|
name: string;
|
|
600
600
|
created: string;
|
|
@@ -605,7 +605,7 @@ export declare const claude: {
|
|
|
605
605
|
};
|
|
606
606
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
607
607
|
context: number;
|
|
608
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
608
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
609
609
|
}>];
|
|
610
610
|
readonly sonnet: readonly [import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
|
|
611
611
|
name: string;
|
|
@@ -617,7 +617,7 @@ export declare const claude: {
|
|
|
617
617
|
output: readonly ["text"];
|
|
618
618
|
};
|
|
619
619
|
context: number;
|
|
620
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
620
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
621
621
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-4.5", CatalogModel, {
|
|
622
622
|
name: string;
|
|
623
623
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -628,7 +628,7 @@ export declare const claude: {
|
|
|
628
628
|
output: readonly ["text"];
|
|
629
629
|
};
|
|
630
630
|
context: number;
|
|
631
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
631
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
632
632
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-4", CatalogModel, {
|
|
633
633
|
name: string;
|
|
634
634
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -639,7 +639,7 @@ export declare const claude: {
|
|
|
639
639
|
output: readonly ["text"];
|
|
640
640
|
};
|
|
641
641
|
context: number;
|
|
642
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
642
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
643
643
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.7", CatalogModel, {
|
|
644
644
|
name: string;
|
|
645
645
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -650,7 +650,7 @@ export declare const claude: {
|
|
|
650
650
|
output: readonly ["text"];
|
|
651
651
|
};
|
|
652
652
|
context: number;
|
|
653
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
653
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
654
654
|
}>, import("../../utils/preset").Preset<"anthropic/claude-sonnet-3.5", CatalogModel, {
|
|
655
655
|
name: string;
|
|
656
656
|
created: string;
|
|
@@ -661,7 +661,7 @@ export declare const claude: {
|
|
|
661
661
|
};
|
|
662
662
|
capabilities: ("temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
663
663
|
context: number;
|
|
664
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
664
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
665
665
|
}>];
|
|
666
666
|
readonly opus: readonly [import("../../utils/preset").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
|
|
667
667
|
name: string;
|
|
@@ -673,7 +673,7 @@ export declare const claude: {
|
|
|
673
673
|
output: readonly ["text"];
|
|
674
674
|
};
|
|
675
675
|
context: number;
|
|
676
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
676
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
677
677
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.5", CatalogModel, {
|
|
678
678
|
name: string;
|
|
679
679
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -684,7 +684,7 @@ export declare const claude: {
|
|
|
684
684
|
output: readonly ["text"];
|
|
685
685
|
};
|
|
686
686
|
context: number;
|
|
687
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
687
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
688
688
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4.1", CatalogModel, {
|
|
689
689
|
name: string;
|
|
690
690
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -695,7 +695,7 @@ export declare const claude: {
|
|
|
695
695
|
output: readonly ["text"];
|
|
696
696
|
};
|
|
697
697
|
context: number;
|
|
698
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
698
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
699
699
|
}>, import("../../utils/preset").Preset<"anthropic/claude-opus-4", CatalogModel, {
|
|
700
700
|
name: string;
|
|
701
701
|
capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
|
|
@@ -706,6 +706,6 @@ export declare const claude: {
|
|
|
706
706
|
output: readonly ["text"];
|
|
707
707
|
};
|
|
708
708
|
context: number;
|
|
709
|
-
providers: readonly ["anthropic", "bedrock", "vertex"];
|
|
709
|
+
providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
|
|
710
710
|
}>];
|
|
711
711
|
};
|
|
@@ -6,7 +6,7 @@ const CLAUDE_BASE = {
|
|
|
6
6
|
},
|
|
7
7
|
capabilities: ["attachments", "tool_call", "structured_output", "temperature"],
|
|
8
8
|
context: 200000,
|
|
9
|
-
providers: ["anthropic", "bedrock", "vertex"],
|
|
9
|
+
providers: ["anthropic", "bedrock", "vertex", "azure"],
|
|
10
10
|
};
|
|
11
11
|
const CLAUDE_PDF_MODALITIES = {
|
|
12
12
|
modalities: {
|