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