@decocms/bindings 0.2.4-beta.2 → 0.2.4-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/core/binder.d.ts +3 -0
- package/dist/core/binder.js +81 -0
- package/dist/core/binder.js.map +1 -0
- package/dist/{client.js → core/client/http-client-transport.js} +9 -9
- package/dist/core/client/http-client-transport.js.map +1 -0
- package/dist/core/client/index.d.ts +3 -0
- package/dist/core/client/index.js +5 -0
- package/dist/core/client/index.js.map +1 -0
- package/dist/core/client/mcp-client.d.ts +233 -0
- package/dist/core/client/mcp-client.js +99 -0
- package/dist/core/client/mcp-client.js.map +1 -0
- package/dist/core/client/mcp.d.ts +3 -0
- package/dist/core/client/mcp.js +29 -0
- package/dist/core/client/mcp.js.map +1 -0
- package/dist/core/client/proxy.d.ts +10 -0
- package/dist/core/client/proxy.js +104 -0
- package/dist/core/client/proxy.js.map +1 -0
- package/dist/core/connection.js +1 -0
- package/dist/core/connection.js.map +1 -0
- package/dist/core/subset.d.ts +17 -0
- package/dist/core/subset.js +321 -0
- package/dist/core/subset.js.map +1 -0
- package/dist/index-D0aUdNls.d.ts +153 -0
- package/dist/index.d.ts +3 -94
- package/dist/index.js +5 -340
- package/dist/index.js.map +1 -1
- package/dist/{node → well-known}/agents.d.ts +64 -64
- package/dist/well-known/agents.js +28 -0
- package/dist/well-known/agents.js.map +1 -0
- package/dist/{node → well-known}/collections.d.ts +1 -1
- package/dist/{collections.js → well-known/collections.js} +24 -13
- package/dist/well-known/collections.js.map +1 -0
- package/dist/{node → well-known}/language-model.d.ts +353 -357
- package/dist/{node → well-known}/language-model.js +27 -21
- package/dist/well-known/language-model.js.map +1 -0
- package/package.json +17 -37
- package/dist/browser/agents.js +0 -29
- package/dist/browser/agents.js.map +0 -1
- package/dist/browser/chunk-6QEXJ7XW.js +0 -48564
- package/dist/browser/chunk-6QEXJ7XW.js.map +0 -1
- package/dist/browser/chunk-WKNVAFKE.js +0 -2176
- package/dist/browser/chunk-WKNVAFKE.js.map +0 -1
- package/dist/browser/chunk-XWLBKKHZ.js +0 -127
- package/dist/browser/chunk-XWLBKKHZ.js.map +0 -1
- package/dist/browser/chunk-ZX4ZDU2T.js +0 -58
- package/dist/browser/chunk-ZX4ZDU2T.js.map +0 -1
- package/dist/browser/client.js +0 -9
- package/dist/browser/client.js.map +0 -1
- package/dist/browser/collections.js +0 -4
- package/dist/browser/collections.js.map +0 -1
- package/dist/browser/connection.js +0 -8
- package/dist/browser/connection.js.map +0 -1
- package/dist/browser/index.js +0 -10
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/language-model.js +0 -205
- package/dist/browser/language-model.js.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/collections.d.ts +0 -537
- package/dist/collections.js.map +0 -1
- package/dist/connection.js +0 -3
- package/dist/connection.js.map +0 -1
- package/dist/language-model.d.ts +0 -3228
- package/dist/language-model.js +0 -628
- package/dist/language-model.js.map +0 -1
- package/dist/models.d.ts +0 -2071
- package/dist/models.js +0 -111
- package/dist/models.js.map +0 -1
- package/dist/node/agents.js +0 -27
- package/dist/node/agents.js.map +0 -1
- package/dist/node/chunk-BLCFITZG.js +0 -56
- package/dist/node/chunk-BLCFITZG.js.map +0 -1
- package/dist/node/chunk-QMQMPK7Q.js +0 -50
- package/dist/node/chunk-QMQMPK7Q.js.map +0 -1
- package/dist/node/chunk-QP7AQCEP.js +0 -23478
- package/dist/node/chunk-QP7AQCEP.js.map +0 -1
- package/dist/node/chunk-T2DG7334.js +0 -125
- package/dist/node/chunk-T2DG7334.js.map +0 -1
- package/dist/node/client.d.ts +0 -12
- package/dist/node/client.js +0 -7
- package/dist/node/client.js.map +0 -1
- package/dist/node/collections.js +0 -4
- package/dist/node/collections.js.map +0 -1
- package/dist/node/connection.d.ts +0 -30
- package/dist/node/connection.js +0 -6
- package/dist/node/connection.js.map +0 -1
- package/dist/node/index.d.ts +0 -94
- package/dist/node/index.js +0 -8
- package/dist/node/index.js.map +0 -1
- package/dist/node/language-model.js.map +0 -1
- /package/dist/{client.d.ts → core/client/http-client-transport.d.ts} +0 -0
- /package/dist/{connection.d.ts → core/connection.d.ts} +0 -0
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MCPConnection } from '
|
|
1
|
+
import { M as MCPClientFetchStub, T as ToolWithSchemas } from '../index-D0aUdNls.js';
|
|
2
|
+
import { MCPConnection } from '../core/connection.js';
|
|
3
3
|
import { CollectionListInputSchema, CollectionGetInputSchema, CollectionDeleteInputSchema } from './collections.js';
|
|
4
|
-
import { z } from 'zod';
|
|
5
|
-
|
|
6
|
-
type MCPClientFetchStub<TDefinition extends readonly ToolBinder[]> = {
|
|
7
|
-
[K in TDefinition[number] as K["name"]]: K["streamable"] extends true ? K extends ToolBinder<string, infer TInput, any, true> ? (params: TInput, init?: RequestInit) => Promise<Response> : never : K extends ToolBinder<string, infer TInput, infer TReturn, any> ? (params: TInput, init?: RequestInit) => Promise<Awaited<TReturn>> : never;
|
|
8
|
-
};
|
|
4
|
+
import { z } from 'zod/v3';
|
|
9
5
|
|
|
10
6
|
/**
|
|
11
7
|
* Language Model Call Options Schema
|
|
@@ -34,14 +30,14 @@ declare const LanguageModelCallOptionsSchema: z.ZodObject<{
|
|
|
34
30
|
description: z.ZodOptional<z.ZodString>;
|
|
35
31
|
}, "strip", z.ZodTypeAny, {
|
|
36
32
|
type: "json";
|
|
33
|
+
schema?: any;
|
|
37
34
|
name?: string | undefined;
|
|
38
35
|
description?: string | undefined;
|
|
39
|
-
schema?: any;
|
|
40
36
|
}, {
|
|
41
37
|
type: "json";
|
|
38
|
+
schema?: any;
|
|
42
39
|
name?: string | undefined;
|
|
43
40
|
description?: string | undefined;
|
|
44
|
-
schema?: any;
|
|
45
41
|
}>]>>;
|
|
46
42
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
47
43
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -50,8 +46,6 @@ declare const LanguageModelCallOptionsSchema: z.ZodObject<{
|
|
|
50
46
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
51
47
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
52
48
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
tools?: any[] | undefined;
|
|
54
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
55
49
|
prompt?: any;
|
|
56
50
|
maxOutputTokens?: number | undefined;
|
|
57
51
|
temperature?: number | undefined;
|
|
@@ -65,17 +59,17 @@ declare const LanguageModelCallOptionsSchema: z.ZodObject<{
|
|
|
65
59
|
type: "text";
|
|
66
60
|
} | {
|
|
67
61
|
type: "json";
|
|
62
|
+
schema?: any;
|
|
68
63
|
name?: string | undefined;
|
|
69
64
|
description?: string | undefined;
|
|
70
|
-
schema?: any;
|
|
71
65
|
} | undefined;
|
|
66
|
+
tools?: any[] | undefined;
|
|
72
67
|
toolChoice?: any;
|
|
73
68
|
includeRawChunks?: boolean | undefined;
|
|
74
69
|
abortSignal?: any;
|
|
70
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
75
71
|
providerOptions?: any;
|
|
76
72
|
}, {
|
|
77
|
-
tools?: any[] | undefined;
|
|
78
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
79
73
|
prompt?: any;
|
|
80
74
|
maxOutputTokens?: number | undefined;
|
|
81
75
|
temperature?: number | undefined;
|
|
@@ -89,13 +83,15 @@ declare const LanguageModelCallOptionsSchema: z.ZodObject<{
|
|
|
89
83
|
type: "text";
|
|
90
84
|
} | {
|
|
91
85
|
type: "json";
|
|
86
|
+
schema?: any;
|
|
92
87
|
name?: string | undefined;
|
|
93
88
|
description?: string | undefined;
|
|
94
|
-
schema?: any;
|
|
95
89
|
} | undefined;
|
|
90
|
+
tools?: any[] | undefined;
|
|
96
91
|
toolChoice?: any;
|
|
97
92
|
includeRawChunks?: boolean | undefined;
|
|
98
93
|
abortSignal?: any;
|
|
94
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
99
95
|
providerOptions?: any;
|
|
100
96
|
}>;
|
|
101
97
|
/**
|
|
@@ -146,22 +142,22 @@ declare const LanguageModelGenerateOutputSchema: z.ZodObject<{
|
|
|
146
142
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
147
143
|
body: z.ZodOptional<z.ZodAny>;
|
|
148
144
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
id?: string | undefined;
|
|
150
145
|
headers?: Record<string, string> | undefined;
|
|
151
146
|
body?: any;
|
|
147
|
+
id?: string | undefined;
|
|
152
148
|
timestamp?: Date | undefined;
|
|
153
149
|
modelId?: string | undefined;
|
|
154
150
|
}, {
|
|
155
|
-
id?: string | undefined;
|
|
156
151
|
headers?: Record<string, string> | undefined;
|
|
157
152
|
body?: any;
|
|
153
|
+
id?: string | undefined;
|
|
158
154
|
timestamp?: Date | undefined;
|
|
159
155
|
modelId?: string | undefined;
|
|
160
156
|
}>>;
|
|
161
157
|
warnings: z.ZodArray<z.ZodAny, "many">;
|
|
162
158
|
}, "strip", z.ZodTypeAny, {
|
|
163
159
|
content: any[];
|
|
164
|
-
finishReason: "length" | "unknown" | "
|
|
160
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
165
161
|
usage: {
|
|
166
162
|
inputTokens: number | undefined;
|
|
167
163
|
outputTokens: number | undefined;
|
|
@@ -174,15 +170,15 @@ declare const LanguageModelGenerateOutputSchema: z.ZodObject<{
|
|
|
174
170
|
body?: any;
|
|
175
171
|
} | undefined;
|
|
176
172
|
response?: {
|
|
177
|
-
id?: string | undefined;
|
|
178
173
|
headers?: Record<string, string> | undefined;
|
|
179
174
|
body?: any;
|
|
175
|
+
id?: string | undefined;
|
|
180
176
|
timestamp?: Date | undefined;
|
|
181
177
|
modelId?: string | undefined;
|
|
182
178
|
} | undefined;
|
|
183
179
|
}, {
|
|
184
180
|
content: any[];
|
|
185
|
-
finishReason: "length" | "unknown" | "
|
|
181
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
186
182
|
usage: {
|
|
187
183
|
inputTokens?: number | undefined;
|
|
188
184
|
outputTokens?: number | undefined;
|
|
@@ -197,9 +193,9 @@ declare const LanguageModelGenerateOutputSchema: z.ZodObject<{
|
|
|
197
193
|
body?: any;
|
|
198
194
|
} | undefined;
|
|
199
195
|
response?: {
|
|
200
|
-
id?: string | undefined;
|
|
201
196
|
headers?: Record<string, string> | undefined;
|
|
202
197
|
body?: any;
|
|
198
|
+
id?: string | undefined;
|
|
203
199
|
timestamp?: Date | undefined;
|
|
204
200
|
modelId?: string | undefined;
|
|
205
201
|
} | undefined;
|
|
@@ -278,10 +274,10 @@ declare const ModelSchema: z.ZodObject<{
|
|
|
278
274
|
}>>;
|
|
279
275
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "x-ai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
280
276
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
capabilities: string[];
|
|
282
277
|
description: string | null;
|
|
283
278
|
modelId: string;
|
|
284
279
|
logo: string | null;
|
|
280
|
+
capabilities: string[];
|
|
285
281
|
limits: {
|
|
286
282
|
maxOutputTokens: number;
|
|
287
283
|
contextWindow: number;
|
|
@@ -292,10 +288,10 @@ declare const ModelSchema: z.ZodObject<{
|
|
|
292
288
|
} | null;
|
|
293
289
|
provider: "openai" | "anthropic" | "google" | "x-ai" | "deepseek" | "openai-compatible" | "openrouter" | null;
|
|
294
290
|
}, {
|
|
295
|
-
capabilities: string[];
|
|
296
291
|
description: string | null;
|
|
297
292
|
modelId: string;
|
|
298
293
|
logo: string | null;
|
|
294
|
+
capabilities: string[];
|
|
299
295
|
limits: {
|
|
300
296
|
maxOutputTokens: number;
|
|
301
297
|
contextWindow: number;
|
|
@@ -331,14 +327,14 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
331
327
|
description: z.ZodOptional<z.ZodString>;
|
|
332
328
|
}, "strip", z.ZodTypeAny, {
|
|
333
329
|
type: "json";
|
|
330
|
+
schema?: any;
|
|
334
331
|
name?: string | undefined;
|
|
335
332
|
description?: string | undefined;
|
|
336
|
-
schema?: any;
|
|
337
333
|
}, {
|
|
338
334
|
type: "json";
|
|
335
|
+
schema?: any;
|
|
339
336
|
name?: string | undefined;
|
|
340
337
|
description?: string | undefined;
|
|
341
|
-
schema?: any;
|
|
342
338
|
}>]>>;
|
|
343
339
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
344
340
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -347,8 +343,6 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
347
343
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
348
344
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
349
345
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
tools?: any[] | undefined;
|
|
351
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
352
346
|
prompt?: any;
|
|
353
347
|
maxOutputTokens?: number | undefined;
|
|
354
348
|
temperature?: number | undefined;
|
|
@@ -362,17 +356,17 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
362
356
|
type: "text";
|
|
363
357
|
} | {
|
|
364
358
|
type: "json";
|
|
359
|
+
schema?: any;
|
|
365
360
|
name?: string | undefined;
|
|
366
361
|
description?: string | undefined;
|
|
367
|
-
schema?: any;
|
|
368
362
|
} | undefined;
|
|
363
|
+
tools?: any[] | undefined;
|
|
369
364
|
toolChoice?: any;
|
|
370
365
|
includeRawChunks?: boolean | undefined;
|
|
371
366
|
abortSignal?: any;
|
|
367
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
372
368
|
providerOptions?: any;
|
|
373
369
|
}, {
|
|
374
|
-
tools?: any[] | undefined;
|
|
375
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
376
370
|
prompt?: any;
|
|
377
371
|
maxOutputTokens?: number | undefined;
|
|
378
372
|
temperature?: number | undefined;
|
|
@@ -386,20 +380,20 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
386
380
|
type: "text";
|
|
387
381
|
} | {
|
|
388
382
|
type: "json";
|
|
383
|
+
schema?: any;
|
|
389
384
|
name?: string | undefined;
|
|
390
385
|
description?: string | undefined;
|
|
391
|
-
schema?: any;
|
|
392
386
|
} | undefined;
|
|
387
|
+
tools?: any[] | undefined;
|
|
393
388
|
toolChoice?: any;
|
|
394
389
|
includeRawChunks?: boolean | undefined;
|
|
395
390
|
abortSignal?: any;
|
|
391
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
396
392
|
providerOptions?: any;
|
|
397
393
|
}>;
|
|
398
394
|
}, "strip", z.ZodTypeAny, {
|
|
399
395
|
modelId: string;
|
|
400
396
|
callOptions: {
|
|
401
|
-
tools?: any[] | undefined;
|
|
402
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
403
397
|
prompt?: any;
|
|
404
398
|
maxOutputTokens?: number | undefined;
|
|
405
399
|
temperature?: number | undefined;
|
|
@@ -413,20 +407,20 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
413
407
|
type: "text";
|
|
414
408
|
} | {
|
|
415
409
|
type: "json";
|
|
410
|
+
schema?: any;
|
|
416
411
|
name?: string | undefined;
|
|
417
412
|
description?: string | undefined;
|
|
418
|
-
schema?: any;
|
|
419
413
|
} | undefined;
|
|
414
|
+
tools?: any[] | undefined;
|
|
420
415
|
toolChoice?: any;
|
|
421
416
|
includeRawChunks?: boolean | undefined;
|
|
422
417
|
abortSignal?: any;
|
|
418
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
423
419
|
providerOptions?: any;
|
|
424
420
|
};
|
|
425
421
|
}, {
|
|
426
422
|
modelId: string;
|
|
427
423
|
callOptions: {
|
|
428
|
-
tools?: any[] | undefined;
|
|
429
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
430
424
|
prompt?: any;
|
|
431
425
|
maxOutputTokens?: number | undefined;
|
|
432
426
|
temperature?: number | undefined;
|
|
@@ -440,13 +434,15 @@ declare const LanguageModelInputSchema: z.ZodObject<{
|
|
|
440
434
|
type: "text";
|
|
441
435
|
} | {
|
|
442
436
|
type: "json";
|
|
437
|
+
schema?: any;
|
|
443
438
|
name?: string | undefined;
|
|
444
439
|
description?: string | undefined;
|
|
445
|
-
schema?: any;
|
|
446
440
|
} | undefined;
|
|
441
|
+
tools?: any[] | undefined;
|
|
447
442
|
toolChoice?: any;
|
|
448
443
|
includeRawChunks?: boolean | undefined;
|
|
449
444
|
abortSignal?: any;
|
|
445
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
450
446
|
providerOptions?: any;
|
|
451
447
|
};
|
|
452
448
|
}>;
|
|
@@ -488,13 +484,10 @@ declare const ModelCollectionEntitySchema: z.ZodObject<{
|
|
|
488
484
|
}>>;
|
|
489
485
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
490
486
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
id: string;
|
|
492
|
-
title: string;
|
|
493
|
-
created_at: string;
|
|
494
|
-
updated_at: string;
|
|
495
|
-
capabilities: string[];
|
|
496
487
|
description: string | null;
|
|
488
|
+
id: string;
|
|
497
489
|
logo: string | null;
|
|
490
|
+
capabilities: string[];
|
|
498
491
|
limits: {
|
|
499
492
|
maxOutputTokens: number;
|
|
500
493
|
contextWindow: number;
|
|
@@ -504,16 +497,16 @@ declare const ModelCollectionEntitySchema: z.ZodObject<{
|
|
|
504
497
|
output: number;
|
|
505
498
|
} | null;
|
|
506
499
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
507
|
-
created_by?: string | undefined;
|
|
508
|
-
updated_by?: string | undefined;
|
|
509
|
-
}, {
|
|
510
|
-
id: string;
|
|
511
500
|
title: string;
|
|
512
501
|
created_at: string;
|
|
513
502
|
updated_at: string;
|
|
514
|
-
|
|
503
|
+
created_by?: string | undefined;
|
|
504
|
+
updated_by?: string | undefined;
|
|
505
|
+
}, {
|
|
515
506
|
description: string | null;
|
|
507
|
+
id: string;
|
|
516
508
|
logo: string | null;
|
|
509
|
+
capabilities: string[];
|
|
517
510
|
limits: {
|
|
518
511
|
maxOutputTokens: number;
|
|
519
512
|
contextWindow: number;
|
|
@@ -523,6 +516,9 @@ declare const ModelCollectionEntitySchema: z.ZodObject<{
|
|
|
523
516
|
output: number;
|
|
524
517
|
} | null;
|
|
525
518
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
519
|
+
title: string;
|
|
520
|
+
created_at: string;
|
|
521
|
+
updated_at: string;
|
|
526
522
|
created_by?: string | undefined;
|
|
527
523
|
updated_by?: string | undefined;
|
|
528
524
|
}>;
|
|
@@ -576,13 +572,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
576
572
|
}>>;
|
|
577
573
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
578
574
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
-
id: string;
|
|
580
|
-
title: string;
|
|
581
|
-
created_at: string;
|
|
582
|
-
updated_at: string;
|
|
583
|
-
capabilities: string[];
|
|
584
575
|
description: string | null;
|
|
576
|
+
id: string;
|
|
585
577
|
logo: string | null;
|
|
578
|
+
capabilities: string[];
|
|
586
579
|
limits: {
|
|
587
580
|
maxOutputTokens: number;
|
|
588
581
|
contextWindow: number;
|
|
@@ -592,16 +585,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
592
585
|
output: number;
|
|
593
586
|
} | null;
|
|
594
587
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
595
|
-
created_by?: string | undefined;
|
|
596
|
-
updated_by?: string | undefined;
|
|
597
|
-
}, {
|
|
598
|
-
id: string;
|
|
599
588
|
title: string;
|
|
600
589
|
created_at: string;
|
|
601
590
|
updated_at: string;
|
|
602
|
-
|
|
591
|
+
created_by?: string | undefined;
|
|
592
|
+
updated_by?: string | undefined;
|
|
593
|
+
}, {
|
|
603
594
|
description: string | null;
|
|
595
|
+
id: string;
|
|
604
596
|
logo: string | null;
|
|
597
|
+
capabilities: string[];
|
|
605
598
|
limits: {
|
|
606
599
|
maxOutputTokens: number;
|
|
607
600
|
contextWindow: number;
|
|
@@ -611,6 +604,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
611
604
|
output: number;
|
|
612
605
|
} | null;
|
|
613
606
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
607
|
+
title: string;
|
|
608
|
+
created_at: string;
|
|
609
|
+
updated_at: string;
|
|
614
610
|
created_by?: string | undefined;
|
|
615
611
|
updated_by?: string | undefined;
|
|
616
612
|
}>, "many">;
|
|
@@ -618,13 +614,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
618
614
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
619
615
|
}, "strip", z.ZodTypeAny, {
|
|
620
616
|
items: {
|
|
621
|
-
id: string;
|
|
622
|
-
title: string;
|
|
623
|
-
created_at: string;
|
|
624
|
-
updated_at: string;
|
|
625
|
-
capabilities: string[];
|
|
626
617
|
description: string | null;
|
|
618
|
+
id: string;
|
|
627
619
|
logo: string | null;
|
|
620
|
+
capabilities: string[];
|
|
628
621
|
limits: {
|
|
629
622
|
maxOutputTokens: number;
|
|
630
623
|
contextWindow: number;
|
|
@@ -634,6 +627,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
634
627
|
output: number;
|
|
635
628
|
} | null;
|
|
636
629
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
630
|
+
title: string;
|
|
631
|
+
created_at: string;
|
|
632
|
+
updated_at: string;
|
|
637
633
|
created_by?: string | undefined;
|
|
638
634
|
updated_by?: string | undefined;
|
|
639
635
|
}[];
|
|
@@ -641,13 +637,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
641
637
|
hasMore?: boolean | undefined;
|
|
642
638
|
}, {
|
|
643
639
|
items: {
|
|
644
|
-
id: string;
|
|
645
|
-
title: string;
|
|
646
|
-
created_at: string;
|
|
647
|
-
updated_at: string;
|
|
648
|
-
capabilities: string[];
|
|
649
640
|
description: string | null;
|
|
641
|
+
id: string;
|
|
650
642
|
logo: string | null;
|
|
643
|
+
capabilities: string[];
|
|
651
644
|
limits: {
|
|
652
645
|
maxOutputTokens: number;
|
|
653
646
|
contextWindow: number;
|
|
@@ -657,6 +650,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
657
650
|
output: number;
|
|
658
651
|
} | null;
|
|
659
652
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
653
|
+
title: string;
|
|
654
|
+
created_at: string;
|
|
655
|
+
updated_at: string;
|
|
660
656
|
created_by?: string | undefined;
|
|
661
657
|
updated_by?: string | undefined;
|
|
662
658
|
}[];
|
|
@@ -700,13 +696,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
700
696
|
}>>;
|
|
701
697
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
702
698
|
}, "strip", z.ZodTypeAny, {
|
|
703
|
-
id: string;
|
|
704
|
-
title: string;
|
|
705
|
-
created_at: string;
|
|
706
|
-
updated_at: string;
|
|
707
|
-
capabilities: string[];
|
|
708
699
|
description: string | null;
|
|
700
|
+
id: string;
|
|
709
701
|
logo: string | null;
|
|
702
|
+
capabilities: string[];
|
|
710
703
|
limits: {
|
|
711
704
|
maxOutputTokens: number;
|
|
712
705
|
contextWindow: number;
|
|
@@ -716,16 +709,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
716
709
|
output: number;
|
|
717
710
|
} | null;
|
|
718
711
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
719
|
-
created_by?: string | undefined;
|
|
720
|
-
updated_by?: string | undefined;
|
|
721
|
-
}, {
|
|
722
|
-
id: string;
|
|
723
712
|
title: string;
|
|
724
713
|
created_at: string;
|
|
725
714
|
updated_at: string;
|
|
726
|
-
|
|
715
|
+
created_by?: string | undefined;
|
|
716
|
+
updated_by?: string | undefined;
|
|
717
|
+
}, {
|
|
727
718
|
description: string | null;
|
|
719
|
+
id: string;
|
|
728
720
|
logo: string | null;
|
|
721
|
+
capabilities: string[];
|
|
729
722
|
limits: {
|
|
730
723
|
maxOutputTokens: number;
|
|
731
724
|
contextWindow: number;
|
|
@@ -735,18 +728,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
735
728
|
output: number;
|
|
736
729
|
} | null;
|
|
737
730
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
731
|
+
title: string;
|
|
732
|
+
created_at: string;
|
|
733
|
+
updated_at: string;
|
|
738
734
|
created_by?: string | undefined;
|
|
739
735
|
updated_by?: string | undefined;
|
|
740
736
|
}>>;
|
|
741
737
|
}, "strip", z.ZodTypeAny, {
|
|
742
738
|
item: {
|
|
743
|
-
id: string;
|
|
744
|
-
title: string;
|
|
745
|
-
created_at: string;
|
|
746
|
-
updated_at: string;
|
|
747
|
-
capabilities: string[];
|
|
748
739
|
description: string | null;
|
|
740
|
+
id: string;
|
|
749
741
|
logo: string | null;
|
|
742
|
+
capabilities: string[];
|
|
750
743
|
limits: {
|
|
751
744
|
maxOutputTokens: number;
|
|
752
745
|
contextWindow: number;
|
|
@@ -756,18 +749,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
756
749
|
output: number;
|
|
757
750
|
} | null;
|
|
758
751
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
752
|
+
title: string;
|
|
753
|
+
created_at: string;
|
|
754
|
+
updated_at: string;
|
|
759
755
|
created_by?: string | undefined;
|
|
760
756
|
updated_by?: string | undefined;
|
|
761
757
|
} | null;
|
|
762
758
|
}, {
|
|
763
759
|
item: {
|
|
764
|
-
id: string;
|
|
765
|
-
title: string;
|
|
766
|
-
created_at: string;
|
|
767
|
-
updated_at: string;
|
|
768
|
-
capabilities: string[];
|
|
769
760
|
description: string | null;
|
|
761
|
+
id: string;
|
|
770
762
|
logo: string | null;
|
|
763
|
+
capabilities: string[];
|
|
771
764
|
limits: {
|
|
772
765
|
maxOutputTokens: number;
|
|
773
766
|
contextWindow: number;
|
|
@@ -777,6 +770,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
777
770
|
output: number;
|
|
778
771
|
} | null;
|
|
779
772
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
773
|
+
title: string;
|
|
774
|
+
created_at: string;
|
|
775
|
+
updated_at: string;
|
|
780
776
|
created_by?: string | undefined;
|
|
781
777
|
updated_by?: string | undefined;
|
|
782
778
|
} | null;
|
|
@@ -817,13 +813,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
817
813
|
}>>;
|
|
818
814
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
819
815
|
}, "strip", z.ZodTypeAny, {
|
|
820
|
-
id: string;
|
|
821
|
-
title: string;
|
|
822
|
-
created_at: string;
|
|
823
|
-
updated_at: string;
|
|
824
|
-
capabilities: string[];
|
|
825
816
|
description: string | null;
|
|
817
|
+
id: string;
|
|
826
818
|
logo: string | null;
|
|
819
|
+
capabilities: string[];
|
|
827
820
|
limits: {
|
|
828
821
|
maxOutputTokens: number;
|
|
829
822
|
contextWindow: number;
|
|
@@ -833,16 +826,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
833
826
|
output: number;
|
|
834
827
|
} | null;
|
|
835
828
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
836
|
-
created_by?: string | undefined;
|
|
837
|
-
updated_by?: string | undefined;
|
|
838
|
-
}, {
|
|
839
|
-
id: string;
|
|
840
829
|
title: string;
|
|
841
830
|
created_at: string;
|
|
842
831
|
updated_at: string;
|
|
843
|
-
|
|
832
|
+
created_by?: string | undefined;
|
|
833
|
+
updated_by?: string | undefined;
|
|
834
|
+
}, {
|
|
844
835
|
description: string | null;
|
|
836
|
+
id: string;
|
|
845
837
|
logo: string | null;
|
|
838
|
+
capabilities: string[];
|
|
846
839
|
limits: {
|
|
847
840
|
maxOutputTokens: number;
|
|
848
841
|
contextWindow: number;
|
|
@@ -852,18 +845,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
852
845
|
output: number;
|
|
853
846
|
} | null;
|
|
854
847
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
848
|
+
title: string;
|
|
849
|
+
created_at: string;
|
|
850
|
+
updated_at: string;
|
|
855
851
|
created_by?: string | undefined;
|
|
856
852
|
updated_by?: string | undefined;
|
|
857
853
|
}>;
|
|
858
854
|
}, "strip", z.ZodTypeAny, {
|
|
859
855
|
data: {
|
|
860
|
-
id: string;
|
|
861
|
-
title: string;
|
|
862
|
-
created_at: string;
|
|
863
|
-
updated_at: string;
|
|
864
|
-
capabilities: string[];
|
|
865
856
|
description: string | null;
|
|
857
|
+
id: string;
|
|
866
858
|
logo: string | null;
|
|
859
|
+
capabilities: string[];
|
|
867
860
|
limits: {
|
|
868
861
|
maxOutputTokens: number;
|
|
869
862
|
contextWindow: number;
|
|
@@ -873,18 +866,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
873
866
|
output: number;
|
|
874
867
|
} | null;
|
|
875
868
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
869
|
+
title: string;
|
|
870
|
+
created_at: string;
|
|
871
|
+
updated_at: string;
|
|
876
872
|
created_by?: string | undefined;
|
|
877
873
|
updated_by?: string | undefined;
|
|
878
874
|
};
|
|
879
875
|
}, {
|
|
880
876
|
data: {
|
|
881
|
-
id: string;
|
|
882
|
-
title: string;
|
|
883
|
-
created_at: string;
|
|
884
|
-
updated_at: string;
|
|
885
|
-
capabilities: string[];
|
|
886
877
|
description: string | null;
|
|
878
|
+
id: string;
|
|
887
879
|
logo: string | null;
|
|
880
|
+
capabilities: string[];
|
|
888
881
|
limits: {
|
|
889
882
|
maxOutputTokens: number;
|
|
890
883
|
contextWindow: number;
|
|
@@ -894,6 +887,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
894
887
|
output: number;
|
|
895
888
|
} | null;
|
|
896
889
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
890
|
+
title: string;
|
|
891
|
+
created_at: string;
|
|
892
|
+
updated_at: string;
|
|
897
893
|
created_by?: string | undefined;
|
|
898
894
|
updated_by?: string | undefined;
|
|
899
895
|
};
|
|
@@ -932,13 +928,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
932
928
|
}>>;
|
|
933
929
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
934
930
|
}, "strip", z.ZodTypeAny, {
|
|
935
|
-
id: string;
|
|
936
|
-
title: string;
|
|
937
|
-
created_at: string;
|
|
938
|
-
updated_at: string;
|
|
939
|
-
capabilities: string[];
|
|
940
931
|
description: string | null;
|
|
932
|
+
id: string;
|
|
941
933
|
logo: string | null;
|
|
934
|
+
capabilities: string[];
|
|
942
935
|
limits: {
|
|
943
936
|
maxOutputTokens: number;
|
|
944
937
|
contextWindow: number;
|
|
@@ -948,16 +941,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
948
941
|
output: number;
|
|
949
942
|
} | null;
|
|
950
943
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
951
|
-
created_by?: string | undefined;
|
|
952
|
-
updated_by?: string | undefined;
|
|
953
|
-
}, {
|
|
954
|
-
id: string;
|
|
955
944
|
title: string;
|
|
956
945
|
created_at: string;
|
|
957
946
|
updated_at: string;
|
|
958
|
-
|
|
947
|
+
created_by?: string | undefined;
|
|
948
|
+
updated_by?: string | undefined;
|
|
949
|
+
}, {
|
|
959
950
|
description: string | null;
|
|
951
|
+
id: string;
|
|
960
952
|
logo: string | null;
|
|
953
|
+
capabilities: string[];
|
|
961
954
|
limits: {
|
|
962
955
|
maxOutputTokens: number;
|
|
963
956
|
contextWindow: number;
|
|
@@ -967,18 +960,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
967
960
|
output: number;
|
|
968
961
|
} | null;
|
|
969
962
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
963
|
+
title: string;
|
|
964
|
+
created_at: string;
|
|
965
|
+
updated_at: string;
|
|
970
966
|
created_by?: string | undefined;
|
|
971
967
|
updated_by?: string | undefined;
|
|
972
968
|
}>;
|
|
973
969
|
}, "strip", z.ZodTypeAny, {
|
|
974
970
|
item: {
|
|
975
|
-
id: string;
|
|
976
|
-
title: string;
|
|
977
|
-
created_at: string;
|
|
978
|
-
updated_at: string;
|
|
979
|
-
capabilities: string[];
|
|
980
971
|
description: string | null;
|
|
972
|
+
id: string;
|
|
981
973
|
logo: string | null;
|
|
974
|
+
capabilities: string[];
|
|
982
975
|
limits: {
|
|
983
976
|
maxOutputTokens: number;
|
|
984
977
|
contextWindow: number;
|
|
@@ -988,18 +981,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
988
981
|
output: number;
|
|
989
982
|
} | null;
|
|
990
983
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
984
|
+
title: string;
|
|
985
|
+
created_at: string;
|
|
986
|
+
updated_at: string;
|
|
991
987
|
created_by?: string | undefined;
|
|
992
988
|
updated_by?: string | undefined;
|
|
993
989
|
};
|
|
994
990
|
}, {
|
|
995
991
|
item: {
|
|
996
|
-
id: string;
|
|
997
|
-
title: string;
|
|
998
|
-
created_at: string;
|
|
999
|
-
updated_at: string;
|
|
1000
|
-
capabilities: string[];
|
|
1001
992
|
description: string | null;
|
|
993
|
+
id: string;
|
|
1002
994
|
logo: string | null;
|
|
995
|
+
capabilities: string[];
|
|
1003
996
|
limits: {
|
|
1004
997
|
maxOutputTokens: number;
|
|
1005
998
|
contextWindow: number;
|
|
@@ -1009,6 +1002,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1009
1002
|
output: number;
|
|
1010
1003
|
} | null;
|
|
1011
1004
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1005
|
+
title: string;
|
|
1006
|
+
created_at: string;
|
|
1007
|
+
updated_at: string;
|
|
1012
1008
|
created_by?: string | undefined;
|
|
1013
1009
|
updated_by?: string | undefined;
|
|
1014
1010
|
};
|
|
@@ -1070,13 +1066,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1070
1066
|
}>>;
|
|
1071
1067
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1072
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
id: string;
|
|
1074
|
-
title: string;
|
|
1075
|
-
created_at: string;
|
|
1076
|
-
updated_at: string;
|
|
1077
|
-
capabilities: string[];
|
|
1078
1069
|
description: string | null;
|
|
1070
|
+
id: string;
|
|
1079
1071
|
logo: string | null;
|
|
1072
|
+
capabilities: string[];
|
|
1080
1073
|
limits: {
|
|
1081
1074
|
maxOutputTokens: number;
|
|
1082
1075
|
contextWindow: number;
|
|
@@ -1086,16 +1079,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1086
1079
|
output: number;
|
|
1087
1080
|
} | null;
|
|
1088
1081
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1089
|
-
created_by?: string | undefined;
|
|
1090
|
-
updated_by?: string | undefined;
|
|
1091
|
-
}, {
|
|
1092
|
-
id: string;
|
|
1093
1082
|
title: string;
|
|
1094
1083
|
created_at: string;
|
|
1095
1084
|
updated_at: string;
|
|
1096
|
-
|
|
1085
|
+
created_by?: string | undefined;
|
|
1086
|
+
updated_by?: string | undefined;
|
|
1087
|
+
}, {
|
|
1097
1088
|
description: string | null;
|
|
1089
|
+
id: string;
|
|
1098
1090
|
logo: string | null;
|
|
1091
|
+
capabilities: string[];
|
|
1099
1092
|
limits: {
|
|
1100
1093
|
maxOutputTokens: number;
|
|
1101
1094
|
contextWindow: number;
|
|
@@ -1105,18 +1098,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1105
1098
|
output: number;
|
|
1106
1099
|
} | null;
|
|
1107
1100
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1108
|
-
|
|
1101
|
+
title: string;
|
|
1102
|
+
created_at: string;
|
|
1103
|
+
updated_at: string;
|
|
1104
|
+
created_by?: string | undefined;
|
|
1109
1105
|
updated_by?: string | undefined;
|
|
1110
1106
|
}>;
|
|
1111
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1112
1108
|
item: {
|
|
1113
|
-
id: string;
|
|
1114
|
-
title: string;
|
|
1115
|
-
created_at: string;
|
|
1116
|
-
updated_at: string;
|
|
1117
|
-
capabilities: string[];
|
|
1118
1109
|
description: string | null;
|
|
1110
|
+
id: string;
|
|
1119
1111
|
logo: string | null;
|
|
1112
|
+
capabilities: string[];
|
|
1120
1113
|
limits: {
|
|
1121
1114
|
maxOutputTokens: number;
|
|
1122
1115
|
contextWindow: number;
|
|
@@ -1126,18 +1119,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1126
1119
|
output: number;
|
|
1127
1120
|
} | null;
|
|
1128
1121
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1122
|
+
title: string;
|
|
1123
|
+
created_at: string;
|
|
1124
|
+
updated_at: string;
|
|
1129
1125
|
created_by?: string | undefined;
|
|
1130
1126
|
updated_by?: string | undefined;
|
|
1131
1127
|
};
|
|
1132
1128
|
}, {
|
|
1133
1129
|
item: {
|
|
1134
|
-
id: string;
|
|
1135
|
-
title: string;
|
|
1136
|
-
created_at: string;
|
|
1137
|
-
updated_at: string;
|
|
1138
|
-
capabilities: string[];
|
|
1139
1130
|
description: string | null;
|
|
1131
|
+
id: string;
|
|
1140
1132
|
logo: string | null;
|
|
1133
|
+
capabilities: string[];
|
|
1141
1134
|
limits: {
|
|
1142
1135
|
maxOutputTokens: number;
|
|
1143
1136
|
contextWindow: number;
|
|
@@ -1147,6 +1140,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1147
1140
|
output: number;
|
|
1148
1141
|
} | null;
|
|
1149
1142
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1143
|
+
title: string;
|
|
1144
|
+
created_at: string;
|
|
1145
|
+
updated_at: string;
|
|
1150
1146
|
created_by?: string | undefined;
|
|
1151
1147
|
updated_by?: string | undefined;
|
|
1152
1148
|
};
|
|
@@ -1189,13 +1185,10 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1189
1185
|
}>>;
|
|
1190
1186
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1191
1187
|
}, "strip", z.ZodTypeAny, {
|
|
1192
|
-
id: string;
|
|
1193
|
-
title: string;
|
|
1194
|
-
created_at: string;
|
|
1195
|
-
updated_at: string;
|
|
1196
|
-
capabilities: string[];
|
|
1197
1188
|
description: string | null;
|
|
1189
|
+
id: string;
|
|
1198
1190
|
logo: string | null;
|
|
1191
|
+
capabilities: string[];
|
|
1199
1192
|
limits: {
|
|
1200
1193
|
maxOutputTokens: number;
|
|
1201
1194
|
contextWindow: number;
|
|
@@ -1205,16 +1198,16 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1205
1198
|
output: number;
|
|
1206
1199
|
} | null;
|
|
1207
1200
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1208
|
-
created_by?: string | undefined;
|
|
1209
|
-
updated_by?: string | undefined;
|
|
1210
|
-
}, {
|
|
1211
|
-
id: string;
|
|
1212
1201
|
title: string;
|
|
1213
1202
|
created_at: string;
|
|
1214
1203
|
updated_at: string;
|
|
1215
|
-
|
|
1204
|
+
created_by?: string | undefined;
|
|
1205
|
+
updated_by?: string | undefined;
|
|
1206
|
+
}, {
|
|
1216
1207
|
description: string | null;
|
|
1208
|
+
id: string;
|
|
1217
1209
|
logo: string | null;
|
|
1210
|
+
capabilities: string[];
|
|
1218
1211
|
limits: {
|
|
1219
1212
|
maxOutputTokens: number;
|
|
1220
1213
|
contextWindow: number;
|
|
@@ -1224,18 +1217,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1224
1217
|
output: number;
|
|
1225
1218
|
} | null;
|
|
1226
1219
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1220
|
+
title: string;
|
|
1221
|
+
created_at: string;
|
|
1222
|
+
updated_at: string;
|
|
1227
1223
|
created_by?: string | undefined;
|
|
1228
1224
|
updated_by?: string | undefined;
|
|
1229
1225
|
}>;
|
|
1230
1226
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1227
|
item: {
|
|
1232
|
-
id: string;
|
|
1233
|
-
title: string;
|
|
1234
|
-
created_at: string;
|
|
1235
|
-
updated_at: string;
|
|
1236
|
-
capabilities: string[];
|
|
1237
1228
|
description: string | null;
|
|
1229
|
+
id: string;
|
|
1238
1230
|
logo: string | null;
|
|
1231
|
+
capabilities: string[];
|
|
1239
1232
|
limits: {
|
|
1240
1233
|
maxOutputTokens: number;
|
|
1241
1234
|
contextWindow: number;
|
|
@@ -1245,18 +1238,18 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1245
1238
|
output: number;
|
|
1246
1239
|
} | null;
|
|
1247
1240
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1241
|
+
title: string;
|
|
1242
|
+
created_at: string;
|
|
1243
|
+
updated_at: string;
|
|
1248
1244
|
created_by?: string | undefined;
|
|
1249
1245
|
updated_by?: string | undefined;
|
|
1250
1246
|
};
|
|
1251
1247
|
}, {
|
|
1252
1248
|
item: {
|
|
1253
|
-
id: string;
|
|
1254
|
-
title: string;
|
|
1255
|
-
created_at: string;
|
|
1256
|
-
updated_at: string;
|
|
1257
|
-
capabilities: string[];
|
|
1258
1249
|
description: string | null;
|
|
1250
|
+
id: string;
|
|
1259
1251
|
logo: string | null;
|
|
1252
|
+
capabilities: string[];
|
|
1260
1253
|
limits: {
|
|
1261
1254
|
maxOutputTokens: number;
|
|
1262
1255
|
contextWindow: number;
|
|
@@ -1266,6 +1259,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1266
1259
|
output: number;
|
|
1267
1260
|
} | null;
|
|
1268
1261
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1262
|
+
title: string;
|
|
1263
|
+
created_at: string;
|
|
1264
|
+
updated_at: string;
|
|
1269
1265
|
created_by?: string | undefined;
|
|
1270
1266
|
updated_by?: string | undefined;
|
|
1271
1267
|
};
|
|
@@ -1315,14 +1311,14 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1315
1311
|
description: z.ZodOptional<z.ZodString>;
|
|
1316
1312
|
}, "strip", z.ZodTypeAny, {
|
|
1317
1313
|
type: "json";
|
|
1314
|
+
schema?: any;
|
|
1318
1315
|
name?: string | undefined;
|
|
1319
1316
|
description?: string | undefined;
|
|
1320
|
-
schema?: any;
|
|
1321
1317
|
}, {
|
|
1322
1318
|
type: "json";
|
|
1319
|
+
schema?: any;
|
|
1323
1320
|
name?: string | undefined;
|
|
1324
1321
|
description?: string | undefined;
|
|
1325
|
-
schema?: any;
|
|
1326
1322
|
}>]>>;
|
|
1327
1323
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1328
1324
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -1331,8 +1327,6 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1331
1327
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
1332
1328
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
1333
1329
|
}, "strip", z.ZodTypeAny, {
|
|
1334
|
-
tools?: any[] | undefined;
|
|
1335
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1336
1330
|
prompt?: any;
|
|
1337
1331
|
maxOutputTokens?: number | undefined;
|
|
1338
1332
|
temperature?: number | undefined;
|
|
@@ -1346,17 +1340,17 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1346
1340
|
type: "text";
|
|
1347
1341
|
} | {
|
|
1348
1342
|
type: "json";
|
|
1343
|
+
schema?: any;
|
|
1349
1344
|
name?: string | undefined;
|
|
1350
1345
|
description?: string | undefined;
|
|
1351
|
-
schema?: any;
|
|
1352
1346
|
} | undefined;
|
|
1347
|
+
tools?: any[] | undefined;
|
|
1353
1348
|
toolChoice?: any;
|
|
1354
1349
|
includeRawChunks?: boolean | undefined;
|
|
1355
1350
|
abortSignal?: any;
|
|
1351
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1356
1352
|
providerOptions?: any;
|
|
1357
1353
|
}, {
|
|
1358
|
-
tools?: any[] | undefined;
|
|
1359
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1360
1354
|
prompt?: any;
|
|
1361
1355
|
maxOutputTokens?: number | undefined;
|
|
1362
1356
|
temperature?: number | undefined;
|
|
@@ -1370,20 +1364,20 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1370
1364
|
type: "text";
|
|
1371
1365
|
} | {
|
|
1372
1366
|
type: "json";
|
|
1367
|
+
schema?: any;
|
|
1373
1368
|
name?: string | undefined;
|
|
1374
1369
|
description?: string | undefined;
|
|
1375
|
-
schema?: any;
|
|
1376
1370
|
} | undefined;
|
|
1371
|
+
tools?: any[] | undefined;
|
|
1377
1372
|
toolChoice?: any;
|
|
1378
1373
|
includeRawChunks?: boolean | undefined;
|
|
1379
1374
|
abortSignal?: any;
|
|
1375
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1380
1376
|
providerOptions?: any;
|
|
1381
1377
|
}>;
|
|
1382
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1383
1379
|
modelId: string;
|
|
1384
1380
|
callOptions: {
|
|
1385
|
-
tools?: any[] | undefined;
|
|
1386
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1387
1381
|
prompt?: any;
|
|
1388
1382
|
maxOutputTokens?: number | undefined;
|
|
1389
1383
|
temperature?: number | undefined;
|
|
@@ -1397,20 +1391,20 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1397
1391
|
type: "text";
|
|
1398
1392
|
} | {
|
|
1399
1393
|
type: "json";
|
|
1394
|
+
schema?: any;
|
|
1400
1395
|
name?: string | undefined;
|
|
1401
1396
|
description?: string | undefined;
|
|
1402
|
-
schema?: any;
|
|
1403
1397
|
} | undefined;
|
|
1398
|
+
tools?: any[] | undefined;
|
|
1404
1399
|
toolChoice?: any;
|
|
1405
1400
|
includeRawChunks?: boolean | undefined;
|
|
1406
1401
|
abortSignal?: any;
|
|
1402
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1407
1403
|
providerOptions?: any;
|
|
1408
1404
|
};
|
|
1409
1405
|
}, {
|
|
1410
1406
|
modelId: string;
|
|
1411
1407
|
callOptions: {
|
|
1412
|
-
tools?: any[] | undefined;
|
|
1413
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1414
1408
|
prompt?: any;
|
|
1415
1409
|
maxOutputTokens?: number | undefined;
|
|
1416
1410
|
temperature?: number | undefined;
|
|
@@ -1424,13 +1418,15 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1424
1418
|
type: "text";
|
|
1425
1419
|
} | {
|
|
1426
1420
|
type: "json";
|
|
1421
|
+
schema?: any;
|
|
1427
1422
|
name?: string | undefined;
|
|
1428
1423
|
description?: string | undefined;
|
|
1429
|
-
schema?: any;
|
|
1430
1424
|
} | undefined;
|
|
1425
|
+
tools?: any[] | undefined;
|
|
1431
1426
|
toolChoice?: any;
|
|
1432
1427
|
includeRawChunks?: boolean | undefined;
|
|
1433
1428
|
abortSignal?: any;
|
|
1429
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1434
1430
|
providerOptions?: any;
|
|
1435
1431
|
};
|
|
1436
1432
|
}>;
|
|
@@ -1463,14 +1459,14 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1463
1459
|
description: z.ZodOptional<z.ZodString>;
|
|
1464
1460
|
}, "strip", z.ZodTypeAny, {
|
|
1465
1461
|
type: "json";
|
|
1462
|
+
schema?: any;
|
|
1466
1463
|
name?: string | undefined;
|
|
1467
1464
|
description?: string | undefined;
|
|
1468
|
-
schema?: any;
|
|
1469
1465
|
}, {
|
|
1470
1466
|
type: "json";
|
|
1467
|
+
schema?: any;
|
|
1471
1468
|
name?: string | undefined;
|
|
1472
1469
|
description?: string | undefined;
|
|
1473
|
-
schema?: any;
|
|
1474
1470
|
}>]>>;
|
|
1475
1471
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1476
1472
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -1479,8 +1475,6 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1479
1475
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
1480
1476
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
1481
1477
|
}, "strip", z.ZodTypeAny, {
|
|
1482
|
-
tools?: any[] | undefined;
|
|
1483
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1484
1478
|
prompt?: any;
|
|
1485
1479
|
maxOutputTokens?: number | undefined;
|
|
1486
1480
|
temperature?: number | undefined;
|
|
@@ -1494,17 +1488,17 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1494
1488
|
type: "text";
|
|
1495
1489
|
} | {
|
|
1496
1490
|
type: "json";
|
|
1491
|
+
schema?: any;
|
|
1497
1492
|
name?: string | undefined;
|
|
1498
1493
|
description?: string | undefined;
|
|
1499
|
-
schema?: any;
|
|
1500
1494
|
} | undefined;
|
|
1495
|
+
tools?: any[] | undefined;
|
|
1501
1496
|
toolChoice?: any;
|
|
1502
1497
|
includeRawChunks?: boolean | undefined;
|
|
1503
1498
|
abortSignal?: any;
|
|
1499
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1504
1500
|
providerOptions?: any;
|
|
1505
1501
|
}, {
|
|
1506
|
-
tools?: any[] | undefined;
|
|
1507
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1508
1502
|
prompt?: any;
|
|
1509
1503
|
maxOutputTokens?: number | undefined;
|
|
1510
1504
|
temperature?: number | undefined;
|
|
@@ -1518,20 +1512,20 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1518
1512
|
type: "text";
|
|
1519
1513
|
} | {
|
|
1520
1514
|
type: "json";
|
|
1515
|
+
schema?: any;
|
|
1521
1516
|
name?: string | undefined;
|
|
1522
1517
|
description?: string | undefined;
|
|
1523
|
-
schema?: any;
|
|
1524
1518
|
} | undefined;
|
|
1519
|
+
tools?: any[] | undefined;
|
|
1525
1520
|
toolChoice?: any;
|
|
1526
1521
|
includeRawChunks?: boolean | undefined;
|
|
1527
1522
|
abortSignal?: any;
|
|
1523
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1528
1524
|
providerOptions?: any;
|
|
1529
1525
|
}>;
|
|
1530
1526
|
}, "strip", z.ZodTypeAny, {
|
|
1531
1527
|
modelId: string;
|
|
1532
1528
|
callOptions: {
|
|
1533
|
-
tools?: any[] | undefined;
|
|
1534
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1535
1529
|
prompt?: any;
|
|
1536
1530
|
maxOutputTokens?: number | undefined;
|
|
1537
1531
|
temperature?: number | undefined;
|
|
@@ -1545,20 +1539,20 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1545
1539
|
type: "text";
|
|
1546
1540
|
} | {
|
|
1547
1541
|
type: "json";
|
|
1542
|
+
schema?: any;
|
|
1548
1543
|
name?: string | undefined;
|
|
1549
1544
|
description?: string | undefined;
|
|
1550
|
-
schema?: any;
|
|
1551
1545
|
} | undefined;
|
|
1546
|
+
tools?: any[] | undefined;
|
|
1552
1547
|
toolChoice?: any;
|
|
1553
1548
|
includeRawChunks?: boolean | undefined;
|
|
1554
1549
|
abortSignal?: any;
|
|
1550
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1555
1551
|
providerOptions?: any;
|
|
1556
1552
|
};
|
|
1557
1553
|
}, {
|
|
1558
1554
|
modelId: string;
|
|
1559
1555
|
callOptions: {
|
|
1560
|
-
tools?: any[] | undefined;
|
|
1561
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
1562
1556
|
prompt?: any;
|
|
1563
1557
|
maxOutputTokens?: number | undefined;
|
|
1564
1558
|
temperature?: number | undefined;
|
|
@@ -1572,13 +1566,15 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1572
1566
|
type: "text";
|
|
1573
1567
|
} | {
|
|
1574
1568
|
type: "json";
|
|
1569
|
+
schema?: any;
|
|
1575
1570
|
name?: string | undefined;
|
|
1576
1571
|
description?: string | undefined;
|
|
1577
|
-
schema?: any;
|
|
1578
1572
|
} | undefined;
|
|
1573
|
+
tools?: any[] | undefined;
|
|
1579
1574
|
toolChoice?: any;
|
|
1580
1575
|
includeRawChunks?: boolean | undefined;
|
|
1581
1576
|
abortSignal?: any;
|
|
1577
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
1582
1578
|
providerOptions?: any;
|
|
1583
1579
|
};
|
|
1584
1580
|
}>;
|
|
@@ -1626,22 +1622,22 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1626
1622
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1627
1623
|
body: z.ZodOptional<z.ZodAny>;
|
|
1628
1624
|
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
id?: string | undefined;
|
|
1630
1625
|
headers?: Record<string, string> | undefined;
|
|
1631
1626
|
body?: any;
|
|
1627
|
+
id?: string | undefined;
|
|
1632
1628
|
timestamp?: Date | undefined;
|
|
1633
1629
|
modelId?: string | undefined;
|
|
1634
1630
|
}, {
|
|
1635
|
-
id?: string | undefined;
|
|
1636
1631
|
headers?: Record<string, string> | undefined;
|
|
1637
1632
|
body?: any;
|
|
1633
|
+
id?: string | undefined;
|
|
1638
1634
|
timestamp?: Date | undefined;
|
|
1639
1635
|
modelId?: string | undefined;
|
|
1640
1636
|
}>>;
|
|
1641
1637
|
warnings: z.ZodArray<z.ZodAny, "many">;
|
|
1642
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1643
1639
|
content: any[];
|
|
1644
|
-
finishReason: "length" | "unknown" | "
|
|
1640
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
1645
1641
|
usage: {
|
|
1646
1642
|
inputTokens: number | undefined;
|
|
1647
1643
|
outputTokens: number | undefined;
|
|
@@ -1654,15 +1650,15 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1654
1650
|
body?: any;
|
|
1655
1651
|
} | undefined;
|
|
1656
1652
|
response?: {
|
|
1657
|
-
id?: string | undefined;
|
|
1658
1653
|
headers?: Record<string, string> | undefined;
|
|
1659
1654
|
body?: any;
|
|
1655
|
+
id?: string | undefined;
|
|
1660
1656
|
timestamp?: Date | undefined;
|
|
1661
1657
|
modelId?: string | undefined;
|
|
1662
1658
|
} | undefined;
|
|
1663
1659
|
}, {
|
|
1664
1660
|
content: any[];
|
|
1665
|
-
finishReason: "length" | "unknown" | "
|
|
1661
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
1666
1662
|
usage: {
|
|
1667
1663
|
inputTokens?: number | undefined;
|
|
1668
1664
|
outputTokens?: number | undefined;
|
|
@@ -1677,9 +1673,9 @@ declare const LANGUAGE_MODEL_BINDING: ({
|
|
|
1677
1673
|
body?: any;
|
|
1678
1674
|
} | undefined;
|
|
1679
1675
|
response?: {
|
|
1680
|
-
id?: string | undefined;
|
|
1681
1676
|
headers?: Record<string, string> | undefined;
|
|
1682
1677
|
body?: any;
|
|
1678
|
+
id?: string | undefined;
|
|
1683
1679
|
timestamp?: Date | undefined;
|
|
1684
1680
|
modelId?: string | undefined;
|
|
1685
1681
|
} | undefined;
|
|
@@ -1724,13 +1720,10 @@ declare const LanguageModelBinding: {
|
|
|
1724
1720
|
}>>;
|
|
1725
1721
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1726
1722
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
id: string;
|
|
1728
|
-
title: string;
|
|
1729
|
-
created_at: string;
|
|
1730
|
-
updated_at: string;
|
|
1731
|
-
capabilities: string[];
|
|
1732
1723
|
description: string | null;
|
|
1724
|
+
id: string;
|
|
1733
1725
|
logo: string | null;
|
|
1726
|
+
capabilities: string[];
|
|
1734
1727
|
limits: {
|
|
1735
1728
|
maxOutputTokens: number;
|
|
1736
1729
|
contextWindow: number;
|
|
@@ -1740,16 +1733,16 @@ declare const LanguageModelBinding: {
|
|
|
1740
1733
|
output: number;
|
|
1741
1734
|
} | null;
|
|
1742
1735
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1743
|
-
created_by?: string | undefined;
|
|
1744
|
-
updated_by?: string | undefined;
|
|
1745
|
-
}, {
|
|
1746
|
-
id: string;
|
|
1747
1736
|
title: string;
|
|
1748
1737
|
created_at: string;
|
|
1749
1738
|
updated_at: string;
|
|
1750
|
-
|
|
1739
|
+
created_by?: string | undefined;
|
|
1740
|
+
updated_by?: string | undefined;
|
|
1741
|
+
}, {
|
|
1751
1742
|
description: string | null;
|
|
1743
|
+
id: string;
|
|
1752
1744
|
logo: string | null;
|
|
1745
|
+
capabilities: string[];
|
|
1753
1746
|
limits: {
|
|
1754
1747
|
maxOutputTokens: number;
|
|
1755
1748
|
contextWindow: number;
|
|
@@ -1759,6 +1752,9 @@ declare const LanguageModelBinding: {
|
|
|
1759
1752
|
output: number;
|
|
1760
1753
|
} | null;
|
|
1761
1754
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1755
|
+
title: string;
|
|
1756
|
+
created_at: string;
|
|
1757
|
+
updated_at: string;
|
|
1762
1758
|
created_by?: string | undefined;
|
|
1763
1759
|
updated_by?: string | undefined;
|
|
1764
1760
|
}>, "many">;
|
|
@@ -1766,13 +1762,10 @@ declare const LanguageModelBinding: {
|
|
|
1766
1762
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
1767
1763
|
}, "strip", z.ZodTypeAny, {
|
|
1768
1764
|
items: {
|
|
1769
|
-
id: string;
|
|
1770
|
-
title: string;
|
|
1771
|
-
created_at: string;
|
|
1772
|
-
updated_at: string;
|
|
1773
|
-
capabilities: string[];
|
|
1774
1765
|
description: string | null;
|
|
1766
|
+
id: string;
|
|
1775
1767
|
logo: string | null;
|
|
1768
|
+
capabilities: string[];
|
|
1776
1769
|
limits: {
|
|
1777
1770
|
maxOutputTokens: number;
|
|
1778
1771
|
contextWindow: number;
|
|
@@ -1782,6 +1775,9 @@ declare const LanguageModelBinding: {
|
|
|
1782
1775
|
output: number;
|
|
1783
1776
|
} | null;
|
|
1784
1777
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1778
|
+
title: string;
|
|
1779
|
+
created_at: string;
|
|
1780
|
+
updated_at: string;
|
|
1785
1781
|
created_by?: string | undefined;
|
|
1786
1782
|
updated_by?: string | undefined;
|
|
1787
1783
|
}[];
|
|
@@ -1789,13 +1785,10 @@ declare const LanguageModelBinding: {
|
|
|
1789
1785
|
hasMore?: boolean | undefined;
|
|
1790
1786
|
}, {
|
|
1791
1787
|
items: {
|
|
1792
|
-
id: string;
|
|
1793
|
-
title: string;
|
|
1794
|
-
created_at: string;
|
|
1795
|
-
updated_at: string;
|
|
1796
|
-
capabilities: string[];
|
|
1797
1788
|
description: string | null;
|
|
1789
|
+
id: string;
|
|
1798
1790
|
logo: string | null;
|
|
1791
|
+
capabilities: string[];
|
|
1799
1792
|
limits: {
|
|
1800
1793
|
maxOutputTokens: number;
|
|
1801
1794
|
contextWindow: number;
|
|
@@ -1805,6 +1798,9 @@ declare const LanguageModelBinding: {
|
|
|
1805
1798
|
output: number;
|
|
1806
1799
|
} | null;
|
|
1807
1800
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1801
|
+
title: string;
|
|
1802
|
+
created_at: string;
|
|
1803
|
+
updated_at: string;
|
|
1808
1804
|
created_by?: string | undefined;
|
|
1809
1805
|
updated_by?: string | undefined;
|
|
1810
1806
|
}[];
|
|
@@ -1848,13 +1844,10 @@ declare const LanguageModelBinding: {
|
|
|
1848
1844
|
}>>;
|
|
1849
1845
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1850
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1851
|
-
id: string;
|
|
1852
|
-
title: string;
|
|
1853
|
-
created_at: string;
|
|
1854
|
-
updated_at: string;
|
|
1855
|
-
capabilities: string[];
|
|
1856
1847
|
description: string | null;
|
|
1848
|
+
id: string;
|
|
1857
1849
|
logo: string | null;
|
|
1850
|
+
capabilities: string[];
|
|
1858
1851
|
limits: {
|
|
1859
1852
|
maxOutputTokens: number;
|
|
1860
1853
|
contextWindow: number;
|
|
@@ -1864,16 +1857,16 @@ declare const LanguageModelBinding: {
|
|
|
1864
1857
|
output: number;
|
|
1865
1858
|
} | null;
|
|
1866
1859
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1867
|
-
created_by?: string | undefined;
|
|
1868
|
-
updated_by?: string | undefined;
|
|
1869
|
-
}, {
|
|
1870
|
-
id: string;
|
|
1871
1860
|
title: string;
|
|
1872
1861
|
created_at: string;
|
|
1873
1862
|
updated_at: string;
|
|
1874
|
-
|
|
1863
|
+
created_by?: string | undefined;
|
|
1864
|
+
updated_by?: string | undefined;
|
|
1865
|
+
}, {
|
|
1875
1866
|
description: string | null;
|
|
1867
|
+
id: string;
|
|
1876
1868
|
logo: string | null;
|
|
1869
|
+
capabilities: string[];
|
|
1877
1870
|
limits: {
|
|
1878
1871
|
maxOutputTokens: number;
|
|
1879
1872
|
contextWindow: number;
|
|
@@ -1883,18 +1876,18 @@ declare const LanguageModelBinding: {
|
|
|
1883
1876
|
output: number;
|
|
1884
1877
|
} | null;
|
|
1885
1878
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1879
|
+
title: string;
|
|
1880
|
+
created_at: string;
|
|
1881
|
+
updated_at: string;
|
|
1886
1882
|
created_by?: string | undefined;
|
|
1887
1883
|
updated_by?: string | undefined;
|
|
1888
1884
|
}>>;
|
|
1889
1885
|
}, "strip", z.ZodTypeAny, {
|
|
1890
1886
|
item: {
|
|
1891
|
-
id: string;
|
|
1892
|
-
title: string;
|
|
1893
|
-
created_at: string;
|
|
1894
|
-
updated_at: string;
|
|
1895
|
-
capabilities: string[];
|
|
1896
1887
|
description: string | null;
|
|
1888
|
+
id: string;
|
|
1897
1889
|
logo: string | null;
|
|
1890
|
+
capabilities: string[];
|
|
1898
1891
|
limits: {
|
|
1899
1892
|
maxOutputTokens: number;
|
|
1900
1893
|
contextWindow: number;
|
|
@@ -1904,18 +1897,18 @@ declare const LanguageModelBinding: {
|
|
|
1904
1897
|
output: number;
|
|
1905
1898
|
} | null;
|
|
1906
1899
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1900
|
+
title: string;
|
|
1901
|
+
created_at: string;
|
|
1902
|
+
updated_at: string;
|
|
1907
1903
|
created_by?: string | undefined;
|
|
1908
1904
|
updated_by?: string | undefined;
|
|
1909
1905
|
} | null;
|
|
1910
1906
|
}, {
|
|
1911
1907
|
item: {
|
|
1912
|
-
id: string;
|
|
1913
|
-
title: string;
|
|
1914
|
-
created_at: string;
|
|
1915
|
-
updated_at: string;
|
|
1916
|
-
capabilities: string[];
|
|
1917
1908
|
description: string | null;
|
|
1909
|
+
id: string;
|
|
1918
1910
|
logo: string | null;
|
|
1911
|
+
capabilities: string[];
|
|
1919
1912
|
limits: {
|
|
1920
1913
|
maxOutputTokens: number;
|
|
1921
1914
|
contextWindow: number;
|
|
@@ -1925,6 +1918,9 @@ declare const LanguageModelBinding: {
|
|
|
1925
1918
|
output: number;
|
|
1926
1919
|
} | null;
|
|
1927
1920
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1921
|
+
title: string;
|
|
1922
|
+
created_at: string;
|
|
1923
|
+
updated_at: string;
|
|
1928
1924
|
created_by?: string | undefined;
|
|
1929
1925
|
updated_by?: string | undefined;
|
|
1930
1926
|
} | null;
|
|
@@ -1965,13 +1961,10 @@ declare const LanguageModelBinding: {
|
|
|
1965
1961
|
}>>;
|
|
1966
1962
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
1967
1963
|
}, "strip", z.ZodTypeAny, {
|
|
1968
|
-
id: string;
|
|
1969
|
-
title: string;
|
|
1970
|
-
created_at: string;
|
|
1971
|
-
updated_at: string;
|
|
1972
|
-
capabilities: string[];
|
|
1973
1964
|
description: string | null;
|
|
1965
|
+
id: string;
|
|
1974
1966
|
logo: string | null;
|
|
1967
|
+
capabilities: string[];
|
|
1975
1968
|
limits: {
|
|
1976
1969
|
maxOutputTokens: number;
|
|
1977
1970
|
contextWindow: number;
|
|
@@ -1981,16 +1974,16 @@ declare const LanguageModelBinding: {
|
|
|
1981
1974
|
output: number;
|
|
1982
1975
|
} | null;
|
|
1983
1976
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1984
|
-
created_by?: string | undefined;
|
|
1985
|
-
updated_by?: string | undefined;
|
|
1986
|
-
}, {
|
|
1987
|
-
id: string;
|
|
1988
1977
|
title: string;
|
|
1989
1978
|
created_at: string;
|
|
1990
1979
|
updated_at: string;
|
|
1991
|
-
|
|
1980
|
+
created_by?: string | undefined;
|
|
1981
|
+
updated_by?: string | undefined;
|
|
1982
|
+
}, {
|
|
1992
1983
|
description: string | null;
|
|
1984
|
+
id: string;
|
|
1993
1985
|
logo: string | null;
|
|
1986
|
+
capabilities: string[];
|
|
1994
1987
|
limits: {
|
|
1995
1988
|
maxOutputTokens: number;
|
|
1996
1989
|
contextWindow: number;
|
|
@@ -2000,18 +1993,18 @@ declare const LanguageModelBinding: {
|
|
|
2000
1993
|
output: number;
|
|
2001
1994
|
} | null;
|
|
2002
1995
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
1996
|
+
title: string;
|
|
1997
|
+
created_at: string;
|
|
1998
|
+
updated_at: string;
|
|
2003
1999
|
created_by?: string | undefined;
|
|
2004
2000
|
updated_by?: string | undefined;
|
|
2005
2001
|
}>;
|
|
2006
2002
|
}, "strip", z.ZodTypeAny, {
|
|
2007
2003
|
data: {
|
|
2008
|
-
id: string;
|
|
2009
|
-
title: string;
|
|
2010
|
-
created_at: string;
|
|
2011
|
-
updated_at: string;
|
|
2012
|
-
capabilities: string[];
|
|
2013
2004
|
description: string | null;
|
|
2005
|
+
id: string;
|
|
2014
2006
|
logo: string | null;
|
|
2007
|
+
capabilities: string[];
|
|
2015
2008
|
limits: {
|
|
2016
2009
|
maxOutputTokens: number;
|
|
2017
2010
|
contextWindow: number;
|
|
@@ -2021,18 +2014,18 @@ declare const LanguageModelBinding: {
|
|
|
2021
2014
|
output: number;
|
|
2022
2015
|
} | null;
|
|
2023
2016
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2017
|
+
title: string;
|
|
2018
|
+
created_at: string;
|
|
2019
|
+
updated_at: string;
|
|
2024
2020
|
created_by?: string | undefined;
|
|
2025
2021
|
updated_by?: string | undefined;
|
|
2026
2022
|
};
|
|
2027
2023
|
}, {
|
|
2028
2024
|
data: {
|
|
2029
|
-
id: string;
|
|
2030
|
-
title: string;
|
|
2031
|
-
created_at: string;
|
|
2032
|
-
updated_at: string;
|
|
2033
|
-
capabilities: string[];
|
|
2034
2025
|
description: string | null;
|
|
2026
|
+
id: string;
|
|
2035
2027
|
logo: string | null;
|
|
2028
|
+
capabilities: string[];
|
|
2036
2029
|
limits: {
|
|
2037
2030
|
maxOutputTokens: number;
|
|
2038
2031
|
contextWindow: number;
|
|
@@ -2042,6 +2035,9 @@ declare const LanguageModelBinding: {
|
|
|
2042
2035
|
output: number;
|
|
2043
2036
|
} | null;
|
|
2044
2037
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2038
|
+
title: string;
|
|
2039
|
+
created_at: string;
|
|
2040
|
+
updated_at: string;
|
|
2045
2041
|
created_by?: string | undefined;
|
|
2046
2042
|
updated_by?: string | undefined;
|
|
2047
2043
|
};
|
|
@@ -2080,13 +2076,10 @@ declare const LanguageModelBinding: {
|
|
|
2080
2076
|
}>>;
|
|
2081
2077
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
2082
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2083
|
-
id: string;
|
|
2084
|
-
title: string;
|
|
2085
|
-
created_at: string;
|
|
2086
|
-
updated_at: string;
|
|
2087
|
-
capabilities: string[];
|
|
2088
2079
|
description: string | null;
|
|
2080
|
+
id: string;
|
|
2089
2081
|
logo: string | null;
|
|
2082
|
+
capabilities: string[];
|
|
2090
2083
|
limits: {
|
|
2091
2084
|
maxOutputTokens: number;
|
|
2092
2085
|
contextWindow: number;
|
|
@@ -2096,16 +2089,16 @@ declare const LanguageModelBinding: {
|
|
|
2096
2089
|
output: number;
|
|
2097
2090
|
} | null;
|
|
2098
2091
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2099
|
-
created_by?: string | undefined;
|
|
2100
|
-
updated_by?: string | undefined;
|
|
2101
|
-
}, {
|
|
2102
|
-
id: string;
|
|
2103
2092
|
title: string;
|
|
2104
2093
|
created_at: string;
|
|
2105
2094
|
updated_at: string;
|
|
2106
|
-
|
|
2095
|
+
created_by?: string | undefined;
|
|
2096
|
+
updated_by?: string | undefined;
|
|
2097
|
+
}, {
|
|
2107
2098
|
description: string | null;
|
|
2099
|
+
id: string;
|
|
2108
2100
|
logo: string | null;
|
|
2101
|
+
capabilities: string[];
|
|
2109
2102
|
limits: {
|
|
2110
2103
|
maxOutputTokens: number;
|
|
2111
2104
|
contextWindow: number;
|
|
@@ -2115,18 +2108,18 @@ declare const LanguageModelBinding: {
|
|
|
2115
2108
|
output: number;
|
|
2116
2109
|
} | null;
|
|
2117
2110
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2111
|
+
title: string;
|
|
2112
|
+
created_at: string;
|
|
2113
|
+
updated_at: string;
|
|
2118
2114
|
created_by?: string | undefined;
|
|
2119
2115
|
updated_by?: string | undefined;
|
|
2120
2116
|
}>;
|
|
2121
2117
|
}, "strip", z.ZodTypeAny, {
|
|
2122
2118
|
item: {
|
|
2123
|
-
id: string;
|
|
2124
|
-
title: string;
|
|
2125
|
-
created_at: string;
|
|
2126
|
-
updated_at: string;
|
|
2127
|
-
capabilities: string[];
|
|
2128
2119
|
description: string | null;
|
|
2120
|
+
id: string;
|
|
2129
2121
|
logo: string | null;
|
|
2122
|
+
capabilities: string[];
|
|
2130
2123
|
limits: {
|
|
2131
2124
|
maxOutputTokens: number;
|
|
2132
2125
|
contextWindow: number;
|
|
@@ -2136,18 +2129,18 @@ declare const LanguageModelBinding: {
|
|
|
2136
2129
|
output: number;
|
|
2137
2130
|
} | null;
|
|
2138
2131
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2132
|
+
title: string;
|
|
2133
|
+
created_at: string;
|
|
2134
|
+
updated_at: string;
|
|
2139
2135
|
created_by?: string | undefined;
|
|
2140
2136
|
updated_by?: string | undefined;
|
|
2141
2137
|
};
|
|
2142
2138
|
}, {
|
|
2143
2139
|
item: {
|
|
2144
|
-
id: string;
|
|
2145
|
-
title: string;
|
|
2146
|
-
created_at: string;
|
|
2147
|
-
updated_at: string;
|
|
2148
|
-
capabilities: string[];
|
|
2149
2140
|
description: string | null;
|
|
2141
|
+
id: string;
|
|
2150
2142
|
logo: string | null;
|
|
2143
|
+
capabilities: string[];
|
|
2151
2144
|
limits: {
|
|
2152
2145
|
maxOutputTokens: number;
|
|
2153
2146
|
contextWindow: number;
|
|
@@ -2157,6 +2150,9 @@ declare const LanguageModelBinding: {
|
|
|
2157
2150
|
output: number;
|
|
2158
2151
|
} | null;
|
|
2159
2152
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2153
|
+
title: string;
|
|
2154
|
+
created_at: string;
|
|
2155
|
+
updated_at: string;
|
|
2160
2156
|
created_by?: string | undefined;
|
|
2161
2157
|
updated_by?: string | undefined;
|
|
2162
2158
|
};
|
|
@@ -2218,13 +2214,10 @@ declare const LanguageModelBinding: {
|
|
|
2218
2214
|
}>>;
|
|
2219
2215
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
2220
2216
|
}, "strip", z.ZodTypeAny, {
|
|
2221
|
-
id: string;
|
|
2222
|
-
title: string;
|
|
2223
|
-
created_at: string;
|
|
2224
|
-
updated_at: string;
|
|
2225
|
-
capabilities: string[];
|
|
2226
2217
|
description: string | null;
|
|
2218
|
+
id: string;
|
|
2227
2219
|
logo: string | null;
|
|
2220
|
+
capabilities: string[];
|
|
2228
2221
|
limits: {
|
|
2229
2222
|
maxOutputTokens: number;
|
|
2230
2223
|
contextWindow: number;
|
|
@@ -2234,16 +2227,16 @@ declare const LanguageModelBinding: {
|
|
|
2234
2227
|
output: number;
|
|
2235
2228
|
} | null;
|
|
2236
2229
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2237
|
-
created_by?: string | undefined;
|
|
2238
|
-
updated_by?: string | undefined;
|
|
2239
|
-
}, {
|
|
2240
|
-
id: string;
|
|
2241
2230
|
title: string;
|
|
2242
2231
|
created_at: string;
|
|
2243
2232
|
updated_at: string;
|
|
2244
|
-
|
|
2233
|
+
created_by?: string | undefined;
|
|
2234
|
+
updated_by?: string | undefined;
|
|
2235
|
+
}, {
|
|
2245
2236
|
description: string | null;
|
|
2237
|
+
id: string;
|
|
2246
2238
|
logo: string | null;
|
|
2239
|
+
capabilities: string[];
|
|
2247
2240
|
limits: {
|
|
2248
2241
|
maxOutputTokens: number;
|
|
2249
2242
|
contextWindow: number;
|
|
@@ -2253,18 +2246,18 @@ declare const LanguageModelBinding: {
|
|
|
2253
2246
|
output: number;
|
|
2254
2247
|
} | null;
|
|
2255
2248
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2249
|
+
title: string;
|
|
2250
|
+
created_at: string;
|
|
2251
|
+
updated_at: string;
|
|
2256
2252
|
created_by?: string | undefined;
|
|
2257
2253
|
updated_by?: string | undefined;
|
|
2258
2254
|
}>;
|
|
2259
2255
|
}, "strip", z.ZodTypeAny, {
|
|
2260
2256
|
item: {
|
|
2261
|
-
id: string;
|
|
2262
|
-
title: string;
|
|
2263
|
-
created_at: string;
|
|
2264
|
-
updated_at: string;
|
|
2265
|
-
capabilities: string[];
|
|
2266
2257
|
description: string | null;
|
|
2258
|
+
id: string;
|
|
2267
2259
|
logo: string | null;
|
|
2260
|
+
capabilities: string[];
|
|
2268
2261
|
limits: {
|
|
2269
2262
|
maxOutputTokens: number;
|
|
2270
2263
|
contextWindow: number;
|
|
@@ -2274,18 +2267,18 @@ declare const LanguageModelBinding: {
|
|
|
2274
2267
|
output: number;
|
|
2275
2268
|
} | null;
|
|
2276
2269
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2270
|
+
title: string;
|
|
2271
|
+
created_at: string;
|
|
2272
|
+
updated_at: string;
|
|
2277
2273
|
created_by?: string | undefined;
|
|
2278
2274
|
updated_by?: string | undefined;
|
|
2279
2275
|
};
|
|
2280
2276
|
}, {
|
|
2281
2277
|
item: {
|
|
2282
|
-
id: string;
|
|
2283
|
-
title: string;
|
|
2284
|
-
created_at: string;
|
|
2285
|
-
updated_at: string;
|
|
2286
|
-
capabilities: string[];
|
|
2287
2278
|
description: string | null;
|
|
2279
|
+
id: string;
|
|
2288
2280
|
logo: string | null;
|
|
2281
|
+
capabilities: string[];
|
|
2289
2282
|
limits: {
|
|
2290
2283
|
maxOutputTokens: number;
|
|
2291
2284
|
contextWindow: number;
|
|
@@ -2295,6 +2288,9 @@ declare const LanguageModelBinding: {
|
|
|
2295
2288
|
output: number;
|
|
2296
2289
|
} | null;
|
|
2297
2290
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2291
|
+
title: string;
|
|
2292
|
+
created_at: string;
|
|
2293
|
+
updated_at: string;
|
|
2298
2294
|
created_by?: string | undefined;
|
|
2299
2295
|
updated_by?: string | undefined;
|
|
2300
2296
|
};
|
|
@@ -2337,13 +2333,10 @@ declare const LanguageModelBinding: {
|
|
|
2337
2333
|
}>>;
|
|
2338
2334
|
provider: z.ZodNullable<z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openai-compatible", "openrouter"]>>;
|
|
2339
2335
|
}, "strip", z.ZodTypeAny, {
|
|
2340
|
-
id: string;
|
|
2341
|
-
title: string;
|
|
2342
|
-
created_at: string;
|
|
2343
|
-
updated_at: string;
|
|
2344
|
-
capabilities: string[];
|
|
2345
2336
|
description: string | null;
|
|
2337
|
+
id: string;
|
|
2346
2338
|
logo: string | null;
|
|
2339
|
+
capabilities: string[];
|
|
2347
2340
|
limits: {
|
|
2348
2341
|
maxOutputTokens: number;
|
|
2349
2342
|
contextWindow: number;
|
|
@@ -2353,16 +2346,16 @@ declare const LanguageModelBinding: {
|
|
|
2353
2346
|
output: number;
|
|
2354
2347
|
} | null;
|
|
2355
2348
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2356
|
-
created_by?: string | undefined;
|
|
2357
|
-
updated_by?: string | undefined;
|
|
2358
|
-
}, {
|
|
2359
|
-
id: string;
|
|
2360
2349
|
title: string;
|
|
2361
2350
|
created_at: string;
|
|
2362
2351
|
updated_at: string;
|
|
2363
|
-
|
|
2352
|
+
created_by?: string | undefined;
|
|
2353
|
+
updated_by?: string | undefined;
|
|
2354
|
+
}, {
|
|
2364
2355
|
description: string | null;
|
|
2356
|
+
id: string;
|
|
2365
2357
|
logo: string | null;
|
|
2358
|
+
capabilities: string[];
|
|
2366
2359
|
limits: {
|
|
2367
2360
|
maxOutputTokens: number;
|
|
2368
2361
|
contextWindow: number;
|
|
@@ -2372,18 +2365,18 @@ declare const LanguageModelBinding: {
|
|
|
2372
2365
|
output: number;
|
|
2373
2366
|
} | null;
|
|
2374
2367
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2368
|
+
title: string;
|
|
2369
|
+
created_at: string;
|
|
2370
|
+
updated_at: string;
|
|
2375
2371
|
created_by?: string | undefined;
|
|
2376
2372
|
updated_by?: string | undefined;
|
|
2377
2373
|
}>;
|
|
2378
2374
|
}, "strip", z.ZodTypeAny, {
|
|
2379
2375
|
item: {
|
|
2380
|
-
id: string;
|
|
2381
|
-
title: string;
|
|
2382
|
-
created_at: string;
|
|
2383
|
-
updated_at: string;
|
|
2384
|
-
capabilities: string[];
|
|
2385
2376
|
description: string | null;
|
|
2377
|
+
id: string;
|
|
2386
2378
|
logo: string | null;
|
|
2379
|
+
capabilities: string[];
|
|
2387
2380
|
limits: {
|
|
2388
2381
|
maxOutputTokens: number;
|
|
2389
2382
|
contextWindow: number;
|
|
@@ -2393,18 +2386,18 @@ declare const LanguageModelBinding: {
|
|
|
2393
2386
|
output: number;
|
|
2394
2387
|
} | null;
|
|
2395
2388
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2389
|
+
title: string;
|
|
2390
|
+
created_at: string;
|
|
2391
|
+
updated_at: string;
|
|
2396
2392
|
created_by?: string | undefined;
|
|
2397
2393
|
updated_by?: string | undefined;
|
|
2398
2394
|
};
|
|
2399
2395
|
}, {
|
|
2400
2396
|
item: {
|
|
2401
|
-
id: string;
|
|
2402
|
-
title: string;
|
|
2403
|
-
created_at: string;
|
|
2404
|
-
updated_at: string;
|
|
2405
|
-
capabilities: string[];
|
|
2406
2397
|
description: string | null;
|
|
2398
|
+
id: string;
|
|
2407
2399
|
logo: string | null;
|
|
2400
|
+
capabilities: string[];
|
|
2408
2401
|
limits: {
|
|
2409
2402
|
maxOutputTokens: number;
|
|
2410
2403
|
contextWindow: number;
|
|
@@ -2414,6 +2407,9 @@ declare const LanguageModelBinding: {
|
|
|
2414
2407
|
output: number;
|
|
2415
2408
|
} | null;
|
|
2416
2409
|
provider: "openai" | "anthropic" | "google" | "deepseek" | "openai-compatible" | "openrouter" | "xai" | null;
|
|
2410
|
+
title: string;
|
|
2411
|
+
created_at: string;
|
|
2412
|
+
updated_at: string;
|
|
2417
2413
|
created_by?: string | undefined;
|
|
2418
2414
|
updated_by?: string | undefined;
|
|
2419
2415
|
};
|
|
@@ -2463,14 +2459,14 @@ declare const LanguageModelBinding: {
|
|
|
2463
2459
|
description: z.ZodOptional<z.ZodString>;
|
|
2464
2460
|
}, "strip", z.ZodTypeAny, {
|
|
2465
2461
|
type: "json";
|
|
2462
|
+
schema?: any;
|
|
2466
2463
|
name?: string | undefined;
|
|
2467
2464
|
description?: string | undefined;
|
|
2468
|
-
schema?: any;
|
|
2469
2465
|
}, {
|
|
2470
2466
|
type: "json";
|
|
2467
|
+
schema?: any;
|
|
2471
2468
|
name?: string | undefined;
|
|
2472
2469
|
description?: string | undefined;
|
|
2473
|
-
schema?: any;
|
|
2474
2470
|
}>]>>;
|
|
2475
2471
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2476
2472
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -2479,8 +2475,6 @@ declare const LanguageModelBinding: {
|
|
|
2479
2475
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
2480
2476
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
2481
2477
|
}, "strip", z.ZodTypeAny, {
|
|
2482
|
-
tools?: any[] | undefined;
|
|
2483
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2484
2478
|
prompt?: any;
|
|
2485
2479
|
maxOutputTokens?: number | undefined;
|
|
2486
2480
|
temperature?: number | undefined;
|
|
@@ -2494,17 +2488,17 @@ declare const LanguageModelBinding: {
|
|
|
2494
2488
|
type: "text";
|
|
2495
2489
|
} | {
|
|
2496
2490
|
type: "json";
|
|
2491
|
+
schema?: any;
|
|
2497
2492
|
name?: string | undefined;
|
|
2498
2493
|
description?: string | undefined;
|
|
2499
|
-
schema?: any;
|
|
2500
2494
|
} | undefined;
|
|
2495
|
+
tools?: any[] | undefined;
|
|
2501
2496
|
toolChoice?: any;
|
|
2502
2497
|
includeRawChunks?: boolean | undefined;
|
|
2503
2498
|
abortSignal?: any;
|
|
2499
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2504
2500
|
providerOptions?: any;
|
|
2505
2501
|
}, {
|
|
2506
|
-
tools?: any[] | undefined;
|
|
2507
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2508
2502
|
prompt?: any;
|
|
2509
2503
|
maxOutputTokens?: number | undefined;
|
|
2510
2504
|
temperature?: number | undefined;
|
|
@@ -2518,20 +2512,20 @@ declare const LanguageModelBinding: {
|
|
|
2518
2512
|
type: "text";
|
|
2519
2513
|
} | {
|
|
2520
2514
|
type: "json";
|
|
2515
|
+
schema?: any;
|
|
2521
2516
|
name?: string | undefined;
|
|
2522
2517
|
description?: string | undefined;
|
|
2523
|
-
schema?: any;
|
|
2524
2518
|
} | undefined;
|
|
2519
|
+
tools?: any[] | undefined;
|
|
2525
2520
|
toolChoice?: any;
|
|
2526
2521
|
includeRawChunks?: boolean | undefined;
|
|
2527
2522
|
abortSignal?: any;
|
|
2523
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2528
2524
|
providerOptions?: any;
|
|
2529
2525
|
}>;
|
|
2530
2526
|
}, "strip", z.ZodTypeAny, {
|
|
2531
2527
|
modelId: string;
|
|
2532
2528
|
callOptions: {
|
|
2533
|
-
tools?: any[] | undefined;
|
|
2534
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2535
2529
|
prompt?: any;
|
|
2536
2530
|
maxOutputTokens?: number | undefined;
|
|
2537
2531
|
temperature?: number | undefined;
|
|
@@ -2545,20 +2539,20 @@ declare const LanguageModelBinding: {
|
|
|
2545
2539
|
type: "text";
|
|
2546
2540
|
} | {
|
|
2547
2541
|
type: "json";
|
|
2542
|
+
schema?: any;
|
|
2548
2543
|
name?: string | undefined;
|
|
2549
2544
|
description?: string | undefined;
|
|
2550
|
-
schema?: any;
|
|
2551
2545
|
} | undefined;
|
|
2546
|
+
tools?: any[] | undefined;
|
|
2552
2547
|
toolChoice?: any;
|
|
2553
2548
|
includeRawChunks?: boolean | undefined;
|
|
2554
2549
|
abortSignal?: any;
|
|
2550
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2555
2551
|
providerOptions?: any;
|
|
2556
2552
|
};
|
|
2557
2553
|
}, {
|
|
2558
2554
|
modelId: string;
|
|
2559
2555
|
callOptions: {
|
|
2560
|
-
tools?: any[] | undefined;
|
|
2561
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2562
2556
|
prompt?: any;
|
|
2563
2557
|
maxOutputTokens?: number | undefined;
|
|
2564
2558
|
temperature?: number | undefined;
|
|
@@ -2572,13 +2566,15 @@ declare const LanguageModelBinding: {
|
|
|
2572
2566
|
type: "text";
|
|
2573
2567
|
} | {
|
|
2574
2568
|
type: "json";
|
|
2569
|
+
schema?: any;
|
|
2575
2570
|
name?: string | undefined;
|
|
2576
2571
|
description?: string | undefined;
|
|
2577
|
-
schema?: any;
|
|
2578
2572
|
} | undefined;
|
|
2573
|
+
tools?: any[] | undefined;
|
|
2579
2574
|
toolChoice?: any;
|
|
2580
2575
|
includeRawChunks?: boolean | undefined;
|
|
2581
2576
|
abortSignal?: any;
|
|
2577
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2582
2578
|
providerOptions?: any;
|
|
2583
2579
|
};
|
|
2584
2580
|
}>;
|
|
@@ -2611,14 +2607,14 @@ declare const LanguageModelBinding: {
|
|
|
2611
2607
|
description: z.ZodOptional<z.ZodString>;
|
|
2612
2608
|
}, "strip", z.ZodTypeAny, {
|
|
2613
2609
|
type: "json";
|
|
2610
|
+
schema?: any;
|
|
2614
2611
|
name?: string | undefined;
|
|
2615
2612
|
description?: string | undefined;
|
|
2616
|
-
schema?: any;
|
|
2617
2613
|
}, {
|
|
2618
2614
|
type: "json";
|
|
2615
|
+
schema?: any;
|
|
2619
2616
|
name?: string | undefined;
|
|
2620
2617
|
description?: string | undefined;
|
|
2621
|
-
schema?: any;
|
|
2622
2618
|
}>]>>;
|
|
2623
2619
|
tools: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2624
2620
|
toolChoice: z.ZodOptional<z.ZodAny>;
|
|
@@ -2627,8 +2623,6 @@ declare const LanguageModelBinding: {
|
|
|
2627
2623
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>>;
|
|
2628
2624
|
providerOptions: z.ZodOptional<z.ZodAny>;
|
|
2629
2625
|
}, "strip", z.ZodTypeAny, {
|
|
2630
|
-
tools?: any[] | undefined;
|
|
2631
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2632
2626
|
prompt?: any;
|
|
2633
2627
|
maxOutputTokens?: number | undefined;
|
|
2634
2628
|
temperature?: number | undefined;
|
|
@@ -2642,17 +2636,17 @@ declare const LanguageModelBinding: {
|
|
|
2642
2636
|
type: "text";
|
|
2643
2637
|
} | {
|
|
2644
2638
|
type: "json";
|
|
2639
|
+
schema?: any;
|
|
2645
2640
|
name?: string | undefined;
|
|
2646
2641
|
description?: string | undefined;
|
|
2647
|
-
schema?: any;
|
|
2648
2642
|
} | undefined;
|
|
2643
|
+
tools?: any[] | undefined;
|
|
2649
2644
|
toolChoice?: any;
|
|
2650
2645
|
includeRawChunks?: boolean | undefined;
|
|
2651
2646
|
abortSignal?: any;
|
|
2647
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2652
2648
|
providerOptions?: any;
|
|
2653
2649
|
}, {
|
|
2654
|
-
tools?: any[] | undefined;
|
|
2655
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2656
2650
|
prompt?: any;
|
|
2657
2651
|
maxOutputTokens?: number | undefined;
|
|
2658
2652
|
temperature?: number | undefined;
|
|
@@ -2666,20 +2660,20 @@ declare const LanguageModelBinding: {
|
|
|
2666
2660
|
type: "text";
|
|
2667
2661
|
} | {
|
|
2668
2662
|
type: "json";
|
|
2663
|
+
schema?: any;
|
|
2669
2664
|
name?: string | undefined;
|
|
2670
2665
|
description?: string | undefined;
|
|
2671
|
-
schema?: any;
|
|
2672
2666
|
} | undefined;
|
|
2667
|
+
tools?: any[] | undefined;
|
|
2673
2668
|
toolChoice?: any;
|
|
2674
2669
|
includeRawChunks?: boolean | undefined;
|
|
2675
2670
|
abortSignal?: any;
|
|
2671
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2676
2672
|
providerOptions?: any;
|
|
2677
2673
|
}>;
|
|
2678
2674
|
}, "strip", z.ZodTypeAny, {
|
|
2679
2675
|
modelId: string;
|
|
2680
2676
|
callOptions: {
|
|
2681
|
-
tools?: any[] | undefined;
|
|
2682
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2683
2677
|
prompt?: any;
|
|
2684
2678
|
maxOutputTokens?: number | undefined;
|
|
2685
2679
|
temperature?: number | undefined;
|
|
@@ -2693,20 +2687,20 @@ declare const LanguageModelBinding: {
|
|
|
2693
2687
|
type: "text";
|
|
2694
2688
|
} | {
|
|
2695
2689
|
type: "json";
|
|
2690
|
+
schema?: any;
|
|
2696
2691
|
name?: string | undefined;
|
|
2697
2692
|
description?: string | undefined;
|
|
2698
|
-
schema?: any;
|
|
2699
2693
|
} | undefined;
|
|
2694
|
+
tools?: any[] | undefined;
|
|
2700
2695
|
toolChoice?: any;
|
|
2701
2696
|
includeRawChunks?: boolean | undefined;
|
|
2702
2697
|
abortSignal?: any;
|
|
2698
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2703
2699
|
providerOptions?: any;
|
|
2704
2700
|
};
|
|
2705
2701
|
}, {
|
|
2706
2702
|
modelId: string;
|
|
2707
2703
|
callOptions: {
|
|
2708
|
-
tools?: any[] | undefined;
|
|
2709
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
2710
2704
|
prompt?: any;
|
|
2711
2705
|
maxOutputTokens?: number | undefined;
|
|
2712
2706
|
temperature?: number | undefined;
|
|
@@ -2720,13 +2714,15 @@ declare const LanguageModelBinding: {
|
|
|
2720
2714
|
type: "text";
|
|
2721
2715
|
} | {
|
|
2722
2716
|
type: "json";
|
|
2717
|
+
schema?: any;
|
|
2723
2718
|
name?: string | undefined;
|
|
2724
2719
|
description?: string | undefined;
|
|
2725
|
-
schema?: any;
|
|
2726
2720
|
} | undefined;
|
|
2721
|
+
tools?: any[] | undefined;
|
|
2727
2722
|
toolChoice?: any;
|
|
2728
2723
|
includeRawChunks?: boolean | undefined;
|
|
2729
2724
|
abortSignal?: any;
|
|
2725
|
+
headers?: Record<string, string | undefined> | undefined;
|
|
2730
2726
|
providerOptions?: any;
|
|
2731
2727
|
};
|
|
2732
2728
|
}>;
|
|
@@ -2774,22 +2770,22 @@ declare const LanguageModelBinding: {
|
|
|
2774
2770
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2775
2771
|
body: z.ZodOptional<z.ZodAny>;
|
|
2776
2772
|
}, "strip", z.ZodTypeAny, {
|
|
2777
|
-
id?: string | undefined;
|
|
2778
2773
|
headers?: Record<string, string> | undefined;
|
|
2779
2774
|
body?: any;
|
|
2775
|
+
id?: string | undefined;
|
|
2780
2776
|
timestamp?: Date | undefined;
|
|
2781
2777
|
modelId?: string | undefined;
|
|
2782
2778
|
}, {
|
|
2783
|
-
id?: string | undefined;
|
|
2784
2779
|
headers?: Record<string, string> | undefined;
|
|
2785
2780
|
body?: any;
|
|
2781
|
+
id?: string | undefined;
|
|
2786
2782
|
timestamp?: Date | undefined;
|
|
2787
2783
|
modelId?: string | undefined;
|
|
2788
2784
|
}>>;
|
|
2789
2785
|
warnings: z.ZodArray<z.ZodAny, "many">;
|
|
2790
2786
|
}, "strip", z.ZodTypeAny, {
|
|
2791
2787
|
content: any[];
|
|
2792
|
-
finishReason: "length" | "unknown" | "
|
|
2788
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
2793
2789
|
usage: {
|
|
2794
2790
|
inputTokens: number | undefined;
|
|
2795
2791
|
outputTokens: number | undefined;
|
|
@@ -2802,15 +2798,15 @@ declare const LanguageModelBinding: {
|
|
|
2802
2798
|
body?: any;
|
|
2803
2799
|
} | undefined;
|
|
2804
2800
|
response?: {
|
|
2805
|
-
id?: string | undefined;
|
|
2806
2801
|
headers?: Record<string, string> | undefined;
|
|
2807
2802
|
body?: any;
|
|
2803
|
+
id?: string | undefined;
|
|
2808
2804
|
timestamp?: Date | undefined;
|
|
2809
2805
|
modelId?: string | undefined;
|
|
2810
2806
|
} | undefined;
|
|
2811
2807
|
}, {
|
|
2812
2808
|
content: any[];
|
|
2813
|
-
finishReason: "length" | "unknown" | "
|
|
2809
|
+
finishReason: "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "error" | "other";
|
|
2814
2810
|
usage: {
|
|
2815
2811
|
inputTokens?: number | undefined;
|
|
2816
2812
|
outputTokens?: number | undefined;
|
|
@@ -2825,16 +2821,16 @@ declare const LanguageModelBinding: {
|
|
|
2825
2821
|
body?: any;
|
|
2826
2822
|
} | undefined;
|
|
2827
2823
|
response?: {
|
|
2828
|
-
id?: string | undefined;
|
|
2829
2824
|
headers?: Record<string, string> | undefined;
|
|
2830
2825
|
body?: any;
|
|
2826
|
+
id?: string | undefined;
|
|
2831
2827
|
timestamp?: Date | undefined;
|
|
2832
2828
|
modelId?: string | undefined;
|
|
2833
2829
|
} | undefined;
|
|
2834
2830
|
}>;
|
|
2835
2831
|
streamable?: undefined;
|
|
2836
2832
|
})[]>;
|
|
2837
|
-
isImplementedBy: (tools: ToolWithSchemas[]) =>
|
|
2833
|
+
isImplementedBy: (tools: ToolWithSchemas[]) => boolean;
|
|
2838
2834
|
};
|
|
2839
2835
|
|
|
2840
2836
|
export { LANGUAGE_MODEL_BINDING, LanguageModelBinding, LanguageModelCallOptionsSchema, LanguageModelGenerateOutputSchema, LanguageModelInputSchema, LanguageModelMetadataSchema, LanguageModelStreamOutputSchema, ModelCollectionEntitySchema, ModelSchema };
|