@hebo-ai/gateway 0.11.4 → 0.11.5
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/chat-completions/converters.js +14 -8
- package/dist/endpoints/chat-completions/schema.d.ts +301 -281
- package/dist/endpoints/chat-completions/schema.js +40 -25
- package/dist/endpoints/conversations/handler.js +9 -2
- package/dist/endpoints/conversations/schema.d.ts +453 -453
- package/dist/endpoints/messages/converters.d.ts +2 -2
- package/dist/endpoints/messages/converters.js +12 -6
- package/dist/endpoints/messages/schema.d.ts +88 -70
- package/dist/endpoints/messages/schema.js +26 -13
- package/dist/endpoints/responses/converters.js +25 -19
- package/dist/endpoints/responses/otel.js +3 -1
- package/dist/endpoints/responses/schema.d.ts +543 -525
- package/dist/endpoints/responses/schema.js +49 -34
- package/dist/endpoints/shared/converters.d.ts +1 -1
- package/dist/endpoints/shared/converters.js +1 -1
- package/dist/endpoints/shared/schema.d.ts +2 -2
- package/dist/endpoints/shared/schema.js +1 -1
- package/package.json +48 -56
|
@@ -16,14 +16,14 @@ export const ResponsesInputTextSchema = z.object({
|
|
|
16
16
|
const ResponsesInputImageURLSchema = z.object({
|
|
17
17
|
type: z.literal("input_image"),
|
|
18
18
|
image_url: z.string(),
|
|
19
|
-
file_id: z.string().
|
|
20
|
-
detail: ResponsesImageDetailSchema.
|
|
19
|
+
file_id: z.string().nullish(),
|
|
20
|
+
detail: ResponsesImageDetailSchema.nullish(),
|
|
21
21
|
});
|
|
22
22
|
const ResponsesInputImageIDSchema = z.object({
|
|
23
23
|
type: z.literal("input_image"),
|
|
24
24
|
file_id: z.string(),
|
|
25
|
-
image_url: z.string().
|
|
26
|
-
detail: ResponsesImageDetailSchema.
|
|
25
|
+
image_url: z.string().nullish(),
|
|
26
|
+
detail: ResponsesImageDetailSchema.nullish(),
|
|
27
27
|
});
|
|
28
28
|
export const ResponsesInputImageSchema = z.union([
|
|
29
29
|
ResponsesInputImageURLSchema,
|
|
@@ -32,23 +32,23 @@ export const ResponsesInputImageSchema = z.union([
|
|
|
32
32
|
const ResponsesInputFileDataSchema = z.object({
|
|
33
33
|
type: z.literal("input_file"),
|
|
34
34
|
file_data: z.string(),
|
|
35
|
-
file_id: z.string().
|
|
36
|
-
file_url: z.string().
|
|
37
|
-
filename: z.string().
|
|
35
|
+
file_id: z.string().nullish(),
|
|
36
|
+
file_url: z.string().nullish(),
|
|
37
|
+
filename: z.string().nullish(),
|
|
38
38
|
});
|
|
39
39
|
const ResponsesInputFileIDSchema = z.object({
|
|
40
40
|
type: z.literal("input_file"),
|
|
41
41
|
file_id: z.string(),
|
|
42
|
-
file_data: z.string().
|
|
43
|
-
file_url: z.string().
|
|
44
|
-
filename: z.string().
|
|
42
|
+
file_data: z.string().nullish(),
|
|
43
|
+
file_url: z.string().nullish(),
|
|
44
|
+
filename: z.string().nullish(),
|
|
45
45
|
});
|
|
46
46
|
const ResponsesInputFileURLSchema = z.object({
|
|
47
47
|
type: z.literal("input_file"),
|
|
48
48
|
file_url: z.string(),
|
|
49
|
-
file_data: z.string().
|
|
50
|
-
file_id: z.string().
|
|
51
|
-
filename: z.string().
|
|
49
|
+
file_data: z.string().nullish(),
|
|
50
|
+
file_id: z.string().nullish(),
|
|
51
|
+
filename: z.string().nullish(),
|
|
52
52
|
});
|
|
53
53
|
export const ResponsesInputFileSchema = z.union([
|
|
54
54
|
ResponsesInputFileDataSchema,
|
|
@@ -67,17 +67,17 @@ export const ResponsesInputContentSchema = z.union([
|
|
|
67
67
|
export const ResponsesOutputTextSchema = z.object({
|
|
68
68
|
type: z.literal("output_text"),
|
|
69
69
|
text: z.string(),
|
|
70
|
-
annotations: z.array(z.unknown()).
|
|
70
|
+
annotations: z.array(z.unknown()).nullish(),
|
|
71
71
|
});
|
|
72
72
|
// Message Items
|
|
73
73
|
const ResponsesMessageItemBaseSchema = z.object({
|
|
74
74
|
type: z.literal("message"),
|
|
75
|
-
id: z.string().
|
|
76
|
-
status: ResponsesItemStatusSchema.
|
|
75
|
+
id: z.string().nullish(),
|
|
76
|
+
status: ResponsesItemStatusSchema.nullish(),
|
|
77
77
|
// Extension origin: Gemini
|
|
78
|
-
extra_content: ResponsesProviderMetadataSchema.
|
|
78
|
+
extra_content: ResponsesProviderMetadataSchema.nullish().meta({ extension: true }),
|
|
79
79
|
// Extension origin: Anthropic/OpenRouter/Vercel
|
|
80
|
-
cache_control: ResponsesCacheControlSchema.
|
|
80
|
+
cache_control: ResponsesCacheControlSchema.nullish().meta({ extension: true }),
|
|
81
81
|
});
|
|
82
82
|
const ResponsesUserMessageSchema = ResponsesMessageItemBaseSchema.extend({
|
|
83
83
|
role: z.literal("user"),
|
|
@@ -106,26 +106,26 @@ export const ResponsesMessageItemSchema = z.discriminatedUnion("role", [
|
|
|
106
106
|
*/
|
|
107
107
|
export const ResponsesFunctionCallSchema = z.object({
|
|
108
108
|
type: z.literal("function_call"),
|
|
109
|
-
id: z.string().
|
|
109
|
+
id: z.string().nullish(),
|
|
110
110
|
call_id: z.string(),
|
|
111
111
|
name: z.string(),
|
|
112
112
|
arguments: z.string(),
|
|
113
|
-
status: ResponsesItemStatusSchema.
|
|
113
|
+
status: ResponsesItemStatusSchema.nullish(),
|
|
114
114
|
// Extension origin: Gemini
|
|
115
|
-
extra_content: ResponsesProviderMetadataSchema.
|
|
115
|
+
extra_content: ResponsesProviderMetadataSchema.nullish().meta({ extension: true }),
|
|
116
116
|
// Extension origin: Anthropic/OpenRouter/Vercel
|
|
117
|
-
cache_control: ResponsesCacheControlSchema.
|
|
117
|
+
cache_control: ResponsesCacheControlSchema.nullish().meta({ extension: true }),
|
|
118
118
|
});
|
|
119
119
|
export const ResponsesFunctionCallOutputSchema = z.object({
|
|
120
120
|
type: z.literal("function_call_output"),
|
|
121
|
-
id: z.string().
|
|
121
|
+
id: z.string().nullish(),
|
|
122
122
|
call_id: z.string(),
|
|
123
123
|
output: z.union([z.string(), z.array(ResponsesInputContentSchema)]),
|
|
124
|
-
status: ResponsesItemStatusSchema.
|
|
124
|
+
status: ResponsesItemStatusSchema.nullish(),
|
|
125
125
|
// Extension origin: Gemini
|
|
126
|
-
extra_content: ResponsesProviderMetadataSchema.
|
|
126
|
+
extra_content: ResponsesProviderMetadataSchema.nullish().meta({ extension: true }),
|
|
127
127
|
// Extension origin: Anthropic/OpenRouter/Vercel
|
|
128
|
-
cache_control: ResponsesCacheControlSchema.
|
|
128
|
+
cache_control: ResponsesCacheControlSchema.nullish().meta({ extension: true }),
|
|
129
129
|
});
|
|
130
130
|
/**
|
|
131
131
|
* --- Reasoning ---
|
|
@@ -140,15 +140,15 @@ export const ResponsesReasoningTextSchema = z.object({
|
|
|
140
140
|
});
|
|
141
141
|
export const ResponsesReasoningItemSchema = z.object({
|
|
142
142
|
type: z.literal("reasoning"),
|
|
143
|
-
id: z.string().
|
|
143
|
+
id: z.string().nullish(),
|
|
144
144
|
summary: z.array(ResponsesSummaryTextSchema),
|
|
145
|
-
content: z.array(ResponsesReasoningTextSchema).
|
|
146
|
-
encrypted_content: z.string().
|
|
147
|
-
status: ResponsesItemStatusSchema.
|
|
145
|
+
content: z.array(ResponsesReasoningTextSchema).nullish(),
|
|
146
|
+
encrypted_content: z.string().nullish(),
|
|
147
|
+
status: ResponsesItemStatusSchema.nullish(),
|
|
148
148
|
// Extension origin: Gemini
|
|
149
|
-
extra_content: ResponsesProviderMetadataSchema.
|
|
149
|
+
extra_content: ResponsesProviderMetadataSchema.nullish().meta({ extension: true }),
|
|
150
150
|
// Extension origin: Anthropic/OpenRouter
|
|
151
|
-
signature: z.string().
|
|
151
|
+
signature: z.string().nullish().meta({ extension: true }),
|
|
152
152
|
});
|
|
153
153
|
/**
|
|
154
154
|
* --- Input Items ---
|
|
@@ -164,13 +164,28 @@ export { ResponsesCacheControlSchema, ResponsesReasoningEffortSchema, ResponsesR
|
|
|
164
164
|
/**
|
|
165
165
|
* --- Tools ---
|
|
166
166
|
*/
|
|
167
|
-
export const
|
|
167
|
+
export const ResponsesFunctionToolSchema = z.object({
|
|
168
168
|
type: z.literal("function"),
|
|
169
169
|
name: z.string(),
|
|
170
170
|
description: z.string().optional(),
|
|
171
171
|
parameters: z.record(z.string(), z.unknown()),
|
|
172
172
|
strict: z.boolean().optional(),
|
|
173
173
|
});
|
|
174
|
+
// Hosted/built-in tools (e.g. web_search, file_search, code_interpreter).
|
|
175
|
+
// Accepted at the edge so clients like Codex can send their default payload,
|
|
176
|
+
// but not executed by the gateway — they are dropped before the AI SDK call
|
|
177
|
+
// unless the downstream handler explicitly opts them in.
|
|
178
|
+
export const ResponsesHostedToolSchema = z
|
|
179
|
+
.looseObject({
|
|
180
|
+
type: z.string(),
|
|
181
|
+
})
|
|
182
|
+
.refine((value) => value.type !== "function", {
|
|
183
|
+
message: 'Function tools must use the function tool schema (type: "function")',
|
|
184
|
+
});
|
|
185
|
+
export const ResponsesToolSchema = z.union([
|
|
186
|
+
ResponsesFunctionToolSchema,
|
|
187
|
+
ResponsesHostedToolSchema,
|
|
188
|
+
]);
|
|
174
189
|
const ResponsesNamedFunctionToolChoiceSchema = z.object({
|
|
175
190
|
type: z.literal("function"),
|
|
176
191
|
name: z.string(),
|
|
@@ -225,7 +240,7 @@ const ResponsesInputsSchema = z.object({
|
|
|
225
240
|
frequency_penalty: z.number().min(-2.0).max(2.0).optional(),
|
|
226
241
|
presence_penalty: z.number().min(-2.0).max(2.0).optional(),
|
|
227
242
|
max_output_tokens: z.number().int().nonnegative().optional(),
|
|
228
|
-
reasoning: ResponsesReasoningConfigSchema.
|
|
243
|
+
reasoning: ResponsesReasoningConfigSchema.nullish(),
|
|
229
244
|
prompt_cache_key: z.string().optional(),
|
|
230
245
|
metadata: ResponsesMetadataSchema,
|
|
231
246
|
service_tier: ResponsesServiceTierSchema.optional(),
|
|
@@ -33,7 +33,7 @@ export declare function parseImageInput(url: string): {
|
|
|
33
33
|
image: string | URL;
|
|
34
34
|
mediaType?: string;
|
|
35
35
|
};
|
|
36
|
-
export declare function parseReasoningOptions(reasoning_effort?: ReasoningEffort, reasoning?: ReasoningConfig): {
|
|
36
|
+
export declare function parseReasoningOptions(reasoning_effort?: ReasoningEffort | null, reasoning?: ReasoningConfig | null): {
|
|
37
37
|
reasoning: ReasoningConfig;
|
|
38
38
|
reasoning_effort?: ReasoningEffort;
|
|
39
39
|
} | {
|
|
@@ -46,7 +46,7 @@ export function parseReasoningOptions(reasoning_effort, reasoning) {
|
|
|
46
46
|
if (reasoning?.enabled === false || effort === "none") {
|
|
47
47
|
return { reasoning: { enabled: false, effort: "none" }, reasoning_effort: "none" };
|
|
48
48
|
}
|
|
49
|
-
if (!reasoning && effort === undefined)
|
|
49
|
+
if (!reasoning && (effort === undefined || effort === null))
|
|
50
50
|
return {};
|
|
51
51
|
const out = { reasoning: {} };
|
|
52
52
|
if (effort) {
|
|
@@ -91,13 +91,13 @@ export declare const ContentPartAudioSchema: z.ZodObject<{
|
|
|
91
91
|
webm: "webm";
|
|
92
92
|
}>;
|
|
93
93
|
}, z.core.$strip>;
|
|
94
|
-
cache_control: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
95
95
|
type: z.ZodLiteral<"ephemeral">;
|
|
96
96
|
ttl: z.ZodOptional<z.ZodEnum<{
|
|
97
97
|
"5m": "5m";
|
|
98
98
|
"1h": "1h";
|
|
99
99
|
"24h": "24h";
|
|
100
100
|
}>>;
|
|
101
|
-
}, z.core.$strip
|
|
101
|
+
}, z.core.$strip>>>;
|
|
102
102
|
}, z.core.$strip>;
|
|
103
103
|
export type ContentPartAudio = z.infer<typeof ContentPartAudioSchema>;
|
|
@@ -62,5 +62,5 @@ export const ContentPartAudioSchema = z.object({
|
|
|
62
62
|
type: z.literal("input_audio"),
|
|
63
63
|
input_audio: InputAudioSchema,
|
|
64
64
|
// Extension origin: OpenRouter/Vercel/Anthropic
|
|
65
|
-
cache_control: CacheControlSchema.
|
|
65
|
+
cache_control: CacheControlSchema.nullish().meta({ extension: true }),
|
|
66
66
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebo-ai/gateway",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"description": "AI gateway as a framework. For full control over models, routing & lifecycle. OpenAI /chat/completions, OpenResponses /responses & Anthropic /messages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -252,36 +252,36 @@
|
|
|
252
252
|
"fix": "bun lint:staged && bun format:staged"
|
|
253
253
|
},
|
|
254
254
|
"dependencies": {
|
|
255
|
-
"@ai-sdk/provider": "^3.0.
|
|
256
|
-
"ai": "^6.0.
|
|
257
|
-
"lru-cache": "^11.3.
|
|
255
|
+
"@ai-sdk/provider": "^3.0.10",
|
|
256
|
+
"ai": "^6.0.176",
|
|
257
|
+
"lru-cache": "^11.3.6",
|
|
258
258
|
"uuid": "^14.0.0",
|
|
259
259
|
"zod": "^4.3.6"
|
|
260
260
|
},
|
|
261
261
|
"devDependencies": {
|
|
262
|
-
"@ai-sdk/alibaba": "^1.0.
|
|
263
|
-
"@ai-sdk/amazon-bedrock": "^4.0.
|
|
264
|
-
"@ai-sdk/anthropic": "^3.0.
|
|
265
|
-
"@ai-sdk/cohere": "^3.0.
|
|
266
|
-
"@ai-sdk/deepinfra": "^2.0.
|
|
267
|
-
"@ai-sdk/deepseek": "^2.0.
|
|
268
|
-
"@ai-sdk/fireworks": "^2.0.
|
|
269
|
-
"@ai-sdk/google-vertex": "^4.0.
|
|
270
|
-
"@ai-sdk/groq": "^3.0.
|
|
271
|
-
"@ai-sdk/moonshotai": "^2.0.
|
|
272
|
-
"@ai-sdk/openai": "^3.0.
|
|
273
|
-
"@ai-sdk/togetherai": "^2.0.
|
|
274
|
-
"@ai-sdk/xai": "^3.0.
|
|
262
|
+
"@ai-sdk/alibaba": "^1.0.23",
|
|
263
|
+
"@ai-sdk/amazon-bedrock": "^4.0.103",
|
|
264
|
+
"@ai-sdk/anthropic": "^3.0.76",
|
|
265
|
+
"@ai-sdk/cohere": "^3.0.35",
|
|
266
|
+
"@ai-sdk/deepinfra": "^2.0.51",
|
|
267
|
+
"@ai-sdk/deepseek": "^2.0.34",
|
|
268
|
+
"@ai-sdk/fireworks": "^2.0.52",
|
|
269
|
+
"@ai-sdk/google-vertex": "^4.0.124",
|
|
270
|
+
"@ai-sdk/groq": "^3.0.39",
|
|
271
|
+
"@ai-sdk/moonshotai": "^2.0.22",
|
|
272
|
+
"@ai-sdk/openai": "^3.0.63",
|
|
273
|
+
"@ai-sdk/togetherai": "^2.0.51",
|
|
274
|
+
"@ai-sdk/xai": "^3.0.89",
|
|
275
275
|
"@anthropic-ai/sdk": "^0.91.1",
|
|
276
|
-
"@aws-sdk/credential-providers": "^3.
|
|
277
|
-
"@langfuse/otel": "^5.
|
|
276
|
+
"@aws-sdk/credential-providers": "^3.1045.0",
|
|
277
|
+
"@langfuse/otel": "^5.3.0",
|
|
278
278
|
"@libsql/client": "^0.17.3",
|
|
279
279
|
"@mjackson/node-fetch-server": "^0.7.0",
|
|
280
280
|
"@opentelemetry/api": "^1.9.1",
|
|
281
|
-
"@opentelemetry/context-async-hooks": "^2.7.
|
|
282
|
-
"@opentelemetry/sdk-trace-base": "^2.7.
|
|
283
|
-
"@tanstack/react-router": "^1.
|
|
284
|
-
"@tanstack/react-start": "^1.167.
|
|
281
|
+
"@opentelemetry/context-async-hooks": "^2.7.1",
|
|
282
|
+
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
283
|
+
"@tanstack/react-router": "^1.169.2",
|
|
284
|
+
"@tanstack/react-start": "^1.167.65",
|
|
285
285
|
"@types/better-sqlite3": "^7.6.13",
|
|
286
286
|
"@types/bun": "1.3.13",
|
|
287
287
|
"@types/pg": "^8.20.0",
|
|
@@ -290,48 +290,46 @@
|
|
|
290
290
|
"@types/uuid": "^11.0.0",
|
|
291
291
|
"better-sqlite3": "^12.9.0",
|
|
292
292
|
"elysia": "^1.4.28",
|
|
293
|
-
"hono": "^4.12.
|
|
293
|
+
"hono": "^4.12.18",
|
|
294
294
|
"lefthook": "^2.1.6",
|
|
295
295
|
"mysql2": "^3.22.3",
|
|
296
|
-
"next": "^16.2.
|
|
297
|
-
"openai": "^6.
|
|
296
|
+
"next": "^16.2.6",
|
|
297
|
+
"openai": "^6.37.0",
|
|
298
298
|
"oxfmt": "^0.46.0",
|
|
299
|
-
"oxlint": "^1.
|
|
299
|
+
"oxlint": "^1.63.0",
|
|
300
300
|
"oxlint-tsgolint": "^0.22.1",
|
|
301
301
|
"pg": "^8.20.0",
|
|
302
302
|
"pino": "^10.3.1",
|
|
303
303
|
"postgres": "^3.4.9",
|
|
304
304
|
"typescript": "^6.0.3",
|
|
305
|
-
"vite": "^8.0.
|
|
305
|
+
"vite": "^8.0.11",
|
|
306
306
|
"vite-tsconfig-paths": "^6.1.1",
|
|
307
307
|
"voyage-ai-provider": "^3.0.0",
|
|
308
|
-
"zhipu-ai-provider": "^0.3.
|
|
308
|
+
"zhipu-ai-provider": "^0.3.1"
|
|
309
309
|
},
|
|
310
310
|
"peerDependencies": {
|
|
311
|
-
"@ai-sdk/alibaba": "^1.0.
|
|
312
|
-
"@ai-sdk/amazon-bedrock": "^4.0.
|
|
313
|
-
"@ai-sdk/anthropic": "^3.0.
|
|
314
|
-
"@ai-sdk/cohere": "^3.0.
|
|
315
|
-
"@ai-sdk/deepinfra": "^2.0.
|
|
316
|
-
"@ai-sdk/deepseek": "^2.0.
|
|
317
|
-
"@ai-sdk/fireworks": "^2.0.
|
|
318
|
-
"@ai-sdk/google": "^
|
|
319
|
-
"@ai-sdk/
|
|
320
|
-
"@ai-sdk/
|
|
321
|
-
"@ai-sdk/
|
|
322
|
-
"@ai-sdk/
|
|
323
|
-
"@ai-sdk/
|
|
324
|
-
"@
|
|
325
|
-
"@ai-sdk/xai": "^3.0.83",
|
|
326
|
-
"@libsql/client": "^0.14.0",
|
|
311
|
+
"@ai-sdk/alibaba": "^1.0.23",
|
|
312
|
+
"@ai-sdk/amazon-bedrock": "^4.0.103",
|
|
313
|
+
"@ai-sdk/anthropic": "^3.0.76",
|
|
314
|
+
"@ai-sdk/cohere": "^3.0.35",
|
|
315
|
+
"@ai-sdk/deepinfra": "^2.0.51",
|
|
316
|
+
"@ai-sdk/deepseek": "^2.0.34",
|
|
317
|
+
"@ai-sdk/fireworks": "^2.0.52",
|
|
318
|
+
"@ai-sdk/google-vertex": "^4.0.124",
|
|
319
|
+
"@ai-sdk/groq": "^3.0.39",
|
|
320
|
+
"@ai-sdk/moonshotai": "^2.0.22",
|
|
321
|
+
"@ai-sdk/openai": "^3.0.63",
|
|
322
|
+
"@ai-sdk/togetherai": "^2.0.51",
|
|
323
|
+
"@ai-sdk/xai": "^3.0.89",
|
|
324
|
+
"@libsql/client": "^0.17.3",
|
|
327
325
|
"@opentelemetry/api": "^1.9.1",
|
|
328
|
-
"better-sqlite3": "^
|
|
329
|
-
"mysql2": "^3.
|
|
330
|
-
"pg": "^8.
|
|
331
|
-
"postgres": "^3.4.
|
|
326
|
+
"better-sqlite3": "^12.9.0",
|
|
327
|
+
"mysql2": "^3.22.3",
|
|
328
|
+
"pg": "^8.20.0",
|
|
329
|
+
"postgres": "^3.4.9",
|
|
332
330
|
"typescript": ">=5.9.3",
|
|
333
331
|
"voyage-ai-provider": "^3.0.0",
|
|
334
|
-
"zhipu-ai-provider": "^0.3.
|
|
332
|
+
"zhipu-ai-provider": "^0.3.1"
|
|
335
333
|
},
|
|
336
334
|
"peerDependenciesMeta": {
|
|
337
335
|
"@ai-sdk/alibaba": {
|
|
@@ -346,9 +344,6 @@
|
|
|
346
344
|
"@ai-sdk/cohere": {
|
|
347
345
|
"optional": true
|
|
348
346
|
},
|
|
349
|
-
"@ai-sdk/google": {
|
|
350
|
-
"optional": true
|
|
351
|
-
},
|
|
352
347
|
"@ai-sdk/google-vertex": {
|
|
353
348
|
"optional": true
|
|
354
349
|
},
|
|
@@ -370,9 +365,6 @@
|
|
|
370
365
|
"@ai-sdk/openai": {
|
|
371
366
|
"optional": true
|
|
372
367
|
},
|
|
373
|
-
"@ai-sdk/openai-compatible": {
|
|
374
|
-
"optional": true
|
|
375
|
-
},
|
|
376
368
|
"@ai-sdk/togetherai": {
|
|
377
369
|
"optional": true
|
|
378
370
|
},
|