@adaline/provider 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +331 -333
- package/dist/index.d.ts +331 -333
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -112,18 +112,18 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
112
112
|
title: string;
|
|
113
113
|
description: string;
|
|
114
114
|
max: number;
|
|
115
|
+
default: number;
|
|
115
116
|
min: number;
|
|
116
117
|
step: number;
|
|
117
|
-
default: number;
|
|
118
118
|
}, {
|
|
119
119
|
type: "range";
|
|
120
120
|
param: string;
|
|
121
121
|
title: string;
|
|
122
122
|
description: string;
|
|
123
123
|
max: number;
|
|
124
|
+
default: number;
|
|
124
125
|
min: number;
|
|
125
126
|
step: number;
|
|
126
|
-
default: number;
|
|
127
127
|
}>, z.ZodObject<{
|
|
128
128
|
type: z.ZodLiteral<"multi-string">;
|
|
129
129
|
param: z.ZodString;
|
|
@@ -209,33 +209,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
209
209
|
description: string;
|
|
210
210
|
max: number;
|
|
211
211
|
} | {
|
|
212
|
-
type: "
|
|
212
|
+
type: "object-schema";
|
|
213
213
|
param: string;
|
|
214
214
|
title: string;
|
|
215
215
|
description: string;
|
|
216
|
-
|
|
217
|
-
min: number;
|
|
218
|
-
step: number;
|
|
219
|
-
default: number;
|
|
216
|
+
objectSchema?: any;
|
|
220
217
|
} | {
|
|
221
|
-
type: "
|
|
218
|
+
type: "range";
|
|
222
219
|
param: string;
|
|
223
220
|
title: string;
|
|
224
221
|
description: string;
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
max: number;
|
|
223
|
+
default: number;
|
|
224
|
+
min: number;
|
|
225
|
+
step: number;
|
|
227
226
|
} | {
|
|
228
|
-
type: "
|
|
227
|
+
type: "select-boolean";
|
|
229
228
|
param: string;
|
|
230
229
|
title: string;
|
|
231
230
|
description: string;
|
|
232
|
-
|
|
231
|
+
default: boolean | null;
|
|
233
232
|
} | {
|
|
234
|
-
type: "select-
|
|
233
|
+
type: "select-string";
|
|
235
234
|
param: string;
|
|
236
235
|
title: string;
|
|
237
236
|
description: string;
|
|
238
|
-
default:
|
|
237
|
+
default: string | null;
|
|
238
|
+
choices: string[];
|
|
239
239
|
}>;
|
|
240
240
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
241
241
|
}, {
|
|
@@ -246,33 +246,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
246
246
|
description: string;
|
|
247
247
|
max: number;
|
|
248
248
|
} | {
|
|
249
|
-
type: "
|
|
249
|
+
type: "object-schema";
|
|
250
250
|
param: string;
|
|
251
251
|
title: string;
|
|
252
252
|
description: string;
|
|
253
|
-
|
|
254
|
-
min: number;
|
|
255
|
-
step: number;
|
|
256
|
-
default: number;
|
|
253
|
+
objectSchema?: any;
|
|
257
254
|
} | {
|
|
258
|
-
type: "
|
|
255
|
+
type: "range";
|
|
259
256
|
param: string;
|
|
260
257
|
title: string;
|
|
261
258
|
description: string;
|
|
262
|
-
|
|
263
|
-
|
|
259
|
+
max: number;
|
|
260
|
+
default: number;
|
|
261
|
+
min: number;
|
|
262
|
+
step: number;
|
|
264
263
|
} | {
|
|
265
|
-
type: "
|
|
264
|
+
type: "select-boolean";
|
|
266
265
|
param: string;
|
|
267
266
|
title: string;
|
|
268
267
|
description: string;
|
|
269
|
-
|
|
268
|
+
default: boolean | null;
|
|
270
269
|
} | {
|
|
271
|
-
type: "select-
|
|
270
|
+
type: "select-string";
|
|
272
271
|
param: string;
|
|
273
272
|
title: string;
|
|
274
273
|
description: string;
|
|
275
|
-
default:
|
|
274
|
+
default: string | null;
|
|
275
|
+
choices: string[];
|
|
276
276
|
}>;
|
|
277
277
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
278
278
|
}>, {
|
|
@@ -283,33 +283,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
283
283
|
description: string;
|
|
284
284
|
max: number;
|
|
285
285
|
} | {
|
|
286
|
-
type: "
|
|
286
|
+
type: "object-schema";
|
|
287
287
|
param: string;
|
|
288
288
|
title: string;
|
|
289
289
|
description: string;
|
|
290
|
-
|
|
291
|
-
min: number;
|
|
292
|
-
step: number;
|
|
293
|
-
default: number;
|
|
290
|
+
objectSchema?: any;
|
|
294
291
|
} | {
|
|
295
|
-
type: "
|
|
292
|
+
type: "range";
|
|
296
293
|
param: string;
|
|
297
294
|
title: string;
|
|
298
295
|
description: string;
|
|
299
|
-
|
|
300
|
-
|
|
296
|
+
max: number;
|
|
297
|
+
default: number;
|
|
298
|
+
min: number;
|
|
299
|
+
step: number;
|
|
301
300
|
} | {
|
|
302
|
-
type: "
|
|
301
|
+
type: "select-boolean";
|
|
303
302
|
param: string;
|
|
304
303
|
title: string;
|
|
305
304
|
description: string;
|
|
306
|
-
|
|
305
|
+
default: boolean | null;
|
|
307
306
|
} | {
|
|
308
|
-
type: "select-
|
|
307
|
+
type: "select-string";
|
|
309
308
|
param: string;
|
|
310
309
|
title: string;
|
|
311
310
|
description: string;
|
|
312
|
-
default:
|
|
311
|
+
default: string | null;
|
|
312
|
+
choices: string[];
|
|
313
313
|
}>;
|
|
314
314
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
315
315
|
}, {
|
|
@@ -320,33 +320,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
320
320
|
description: string;
|
|
321
321
|
max: number;
|
|
322
322
|
} | {
|
|
323
|
-
type: "
|
|
323
|
+
type: "object-schema";
|
|
324
324
|
param: string;
|
|
325
325
|
title: string;
|
|
326
326
|
description: string;
|
|
327
|
-
|
|
328
|
-
min: number;
|
|
329
|
-
step: number;
|
|
330
|
-
default: number;
|
|
327
|
+
objectSchema?: any;
|
|
331
328
|
} | {
|
|
332
|
-
type: "
|
|
329
|
+
type: "range";
|
|
333
330
|
param: string;
|
|
334
331
|
title: string;
|
|
335
332
|
description: string;
|
|
336
|
-
|
|
337
|
-
|
|
333
|
+
max: number;
|
|
334
|
+
default: number;
|
|
335
|
+
min: number;
|
|
336
|
+
step: number;
|
|
338
337
|
} | {
|
|
339
|
-
type: "
|
|
338
|
+
type: "select-boolean";
|
|
340
339
|
param: string;
|
|
341
340
|
title: string;
|
|
342
341
|
description: string;
|
|
343
|
-
|
|
342
|
+
default: boolean | null;
|
|
344
343
|
} | {
|
|
345
|
-
type: "select-
|
|
344
|
+
type: "select-string";
|
|
346
345
|
param: string;
|
|
347
346
|
title: string;
|
|
348
347
|
description: string;
|
|
349
|
-
default:
|
|
348
|
+
default: string | null;
|
|
349
|
+
choices: string[];
|
|
350
350
|
}>;
|
|
351
351
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
352
352
|
}>;
|
|
@@ -373,18 +373,18 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
373
373
|
title: string;
|
|
374
374
|
description: string;
|
|
375
375
|
max: number;
|
|
376
|
+
default: number;
|
|
376
377
|
min: number;
|
|
377
378
|
step: number;
|
|
378
|
-
default: number;
|
|
379
379
|
}, {
|
|
380
380
|
type: "range";
|
|
381
381
|
param: string;
|
|
382
382
|
title: string;
|
|
383
383
|
description: string;
|
|
384
384
|
max: number;
|
|
385
|
+
default: number;
|
|
385
386
|
min: number;
|
|
386
387
|
step: number;
|
|
387
|
-
default: number;
|
|
388
388
|
}>, z.ZodObject<{
|
|
389
389
|
type: z.ZodLiteral<"multi-string">;
|
|
390
390
|
param: z.ZodString;
|
|
@@ -470,33 +470,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
470
470
|
description: string;
|
|
471
471
|
max: number;
|
|
472
472
|
} | {
|
|
473
|
-
type: "
|
|
473
|
+
type: "object-schema";
|
|
474
474
|
param: string;
|
|
475
475
|
title: string;
|
|
476
476
|
description: string;
|
|
477
|
-
|
|
478
|
-
min: number;
|
|
479
|
-
step: number;
|
|
480
|
-
default: number;
|
|
477
|
+
objectSchema?: any;
|
|
481
478
|
} | {
|
|
482
|
-
type: "
|
|
479
|
+
type: "range";
|
|
483
480
|
param: string;
|
|
484
481
|
title: string;
|
|
485
482
|
description: string;
|
|
486
|
-
|
|
487
|
-
|
|
483
|
+
max: number;
|
|
484
|
+
default: number;
|
|
485
|
+
min: number;
|
|
486
|
+
step: number;
|
|
488
487
|
} | {
|
|
489
|
-
type: "
|
|
488
|
+
type: "select-boolean";
|
|
490
489
|
param: string;
|
|
491
490
|
title: string;
|
|
492
491
|
description: string;
|
|
493
|
-
|
|
492
|
+
default: boolean | null;
|
|
494
493
|
} | {
|
|
495
|
-
type: "select-
|
|
494
|
+
type: "select-string";
|
|
496
495
|
param: string;
|
|
497
496
|
title: string;
|
|
498
497
|
description: string;
|
|
499
|
-
default:
|
|
498
|
+
default: string | null;
|
|
499
|
+
choices: string[];
|
|
500
500
|
}>;
|
|
501
501
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
502
502
|
}, {
|
|
@@ -507,33 +507,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
507
507
|
description: string;
|
|
508
508
|
max: number;
|
|
509
509
|
} | {
|
|
510
|
-
type: "
|
|
510
|
+
type: "object-schema";
|
|
511
511
|
param: string;
|
|
512
512
|
title: string;
|
|
513
513
|
description: string;
|
|
514
|
-
|
|
515
|
-
min: number;
|
|
516
|
-
step: number;
|
|
517
|
-
default: number;
|
|
514
|
+
objectSchema?: any;
|
|
518
515
|
} | {
|
|
519
|
-
type: "
|
|
516
|
+
type: "range";
|
|
520
517
|
param: string;
|
|
521
518
|
title: string;
|
|
522
519
|
description: string;
|
|
523
|
-
|
|
524
|
-
|
|
520
|
+
max: number;
|
|
521
|
+
default: number;
|
|
522
|
+
min: number;
|
|
523
|
+
step: number;
|
|
525
524
|
} | {
|
|
526
|
-
type: "
|
|
525
|
+
type: "select-boolean";
|
|
527
526
|
param: string;
|
|
528
527
|
title: string;
|
|
529
528
|
description: string;
|
|
530
|
-
|
|
529
|
+
default: boolean | null;
|
|
531
530
|
} | {
|
|
532
|
-
type: "select-
|
|
531
|
+
type: "select-string";
|
|
533
532
|
param: string;
|
|
534
533
|
title: string;
|
|
535
534
|
description: string;
|
|
536
|
-
default:
|
|
535
|
+
default: string | null;
|
|
536
|
+
choices: string[];
|
|
537
537
|
}>;
|
|
538
538
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
539
539
|
}>, {
|
|
@@ -544,33 +544,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
544
544
|
description: string;
|
|
545
545
|
max: number;
|
|
546
546
|
} | {
|
|
547
|
-
type: "
|
|
547
|
+
type: "object-schema";
|
|
548
548
|
param: string;
|
|
549
549
|
title: string;
|
|
550
550
|
description: string;
|
|
551
|
-
|
|
552
|
-
min: number;
|
|
553
|
-
step: number;
|
|
554
|
-
default: number;
|
|
551
|
+
objectSchema?: any;
|
|
555
552
|
} | {
|
|
556
|
-
type: "
|
|
553
|
+
type: "range";
|
|
557
554
|
param: string;
|
|
558
555
|
title: string;
|
|
559
556
|
description: string;
|
|
560
|
-
|
|
561
|
-
|
|
557
|
+
max: number;
|
|
558
|
+
default: number;
|
|
559
|
+
min: number;
|
|
560
|
+
step: number;
|
|
562
561
|
} | {
|
|
563
|
-
type: "
|
|
562
|
+
type: "select-boolean";
|
|
564
563
|
param: string;
|
|
565
564
|
title: string;
|
|
566
565
|
description: string;
|
|
567
|
-
|
|
566
|
+
default: boolean | null;
|
|
568
567
|
} | {
|
|
569
|
-
type: "select-
|
|
568
|
+
type: "select-string";
|
|
570
569
|
param: string;
|
|
571
570
|
title: string;
|
|
572
571
|
description: string;
|
|
573
|
-
default:
|
|
572
|
+
default: string | null;
|
|
573
|
+
choices: string[];
|
|
574
574
|
}>;
|
|
575
575
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
576
576
|
}, {
|
|
@@ -581,33 +581,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
581
581
|
description: string;
|
|
582
582
|
max: number;
|
|
583
583
|
} | {
|
|
584
|
-
type: "
|
|
584
|
+
type: "object-schema";
|
|
585
585
|
param: string;
|
|
586
586
|
title: string;
|
|
587
587
|
description: string;
|
|
588
|
-
|
|
589
|
-
min: number;
|
|
590
|
-
step: number;
|
|
591
|
-
default: number;
|
|
588
|
+
objectSchema?: any;
|
|
592
589
|
} | {
|
|
593
|
-
type: "
|
|
590
|
+
type: "range";
|
|
594
591
|
param: string;
|
|
595
592
|
title: string;
|
|
596
593
|
description: string;
|
|
597
|
-
|
|
598
|
-
|
|
594
|
+
max: number;
|
|
595
|
+
default: number;
|
|
596
|
+
min: number;
|
|
597
|
+
step: number;
|
|
599
598
|
} | {
|
|
600
|
-
type: "
|
|
599
|
+
type: "select-boolean";
|
|
601
600
|
param: string;
|
|
602
601
|
title: string;
|
|
603
602
|
description: string;
|
|
604
|
-
|
|
603
|
+
default: boolean | null;
|
|
605
604
|
} | {
|
|
606
|
-
type: "select-
|
|
605
|
+
type: "select-string";
|
|
607
606
|
param: string;
|
|
608
607
|
title: string;
|
|
609
608
|
description: string;
|
|
610
|
-
default:
|
|
609
|
+
default: string | null;
|
|
610
|
+
choices: string[];
|
|
611
611
|
}>;
|
|
612
612
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
613
613
|
}>;
|
|
@@ -634,18 +634,18 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
634
634
|
title: string;
|
|
635
635
|
description: string;
|
|
636
636
|
max: number;
|
|
637
|
+
default: number;
|
|
637
638
|
min: number;
|
|
638
639
|
step: number;
|
|
639
|
-
default: number;
|
|
640
640
|
}, {
|
|
641
641
|
type: "range";
|
|
642
642
|
param: string;
|
|
643
643
|
title: string;
|
|
644
644
|
description: string;
|
|
645
645
|
max: number;
|
|
646
|
+
default: number;
|
|
646
647
|
min: number;
|
|
647
648
|
step: number;
|
|
648
|
-
default: number;
|
|
649
649
|
}>, z.ZodObject<{
|
|
650
650
|
type: z.ZodLiteral<"multi-string">;
|
|
651
651
|
param: z.ZodString;
|
|
@@ -731,33 +731,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
731
731
|
description: string;
|
|
732
732
|
max: number;
|
|
733
733
|
} | {
|
|
734
|
-
type: "
|
|
734
|
+
type: "object-schema";
|
|
735
735
|
param: string;
|
|
736
736
|
title: string;
|
|
737
737
|
description: string;
|
|
738
|
-
|
|
739
|
-
min: number;
|
|
740
|
-
step: number;
|
|
741
|
-
default: number;
|
|
738
|
+
objectSchema?: any;
|
|
742
739
|
} | {
|
|
743
|
-
type: "
|
|
740
|
+
type: "range";
|
|
744
741
|
param: string;
|
|
745
742
|
title: string;
|
|
746
743
|
description: string;
|
|
747
|
-
|
|
748
|
-
|
|
744
|
+
max: number;
|
|
745
|
+
default: number;
|
|
746
|
+
min: number;
|
|
747
|
+
step: number;
|
|
749
748
|
} | {
|
|
750
|
-
type: "
|
|
749
|
+
type: "select-boolean";
|
|
751
750
|
param: string;
|
|
752
751
|
title: string;
|
|
753
752
|
description: string;
|
|
754
|
-
|
|
753
|
+
default: boolean | null;
|
|
755
754
|
} | {
|
|
756
|
-
type: "select-
|
|
755
|
+
type: "select-string";
|
|
757
756
|
param: string;
|
|
758
757
|
title: string;
|
|
759
758
|
description: string;
|
|
760
|
-
default:
|
|
759
|
+
default: string | null;
|
|
760
|
+
choices: string[];
|
|
761
761
|
}>;
|
|
762
762
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
763
763
|
}, {
|
|
@@ -768,33 +768,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
768
768
|
description: string;
|
|
769
769
|
max: number;
|
|
770
770
|
} | {
|
|
771
|
-
type: "
|
|
771
|
+
type: "object-schema";
|
|
772
772
|
param: string;
|
|
773
773
|
title: string;
|
|
774
774
|
description: string;
|
|
775
|
-
|
|
776
|
-
min: number;
|
|
777
|
-
step: number;
|
|
778
|
-
default: number;
|
|
775
|
+
objectSchema?: any;
|
|
779
776
|
} | {
|
|
780
|
-
type: "
|
|
777
|
+
type: "range";
|
|
781
778
|
param: string;
|
|
782
779
|
title: string;
|
|
783
780
|
description: string;
|
|
784
|
-
|
|
785
|
-
|
|
781
|
+
max: number;
|
|
782
|
+
default: number;
|
|
783
|
+
min: number;
|
|
784
|
+
step: number;
|
|
786
785
|
} | {
|
|
787
|
-
type: "
|
|
786
|
+
type: "select-boolean";
|
|
788
787
|
param: string;
|
|
789
788
|
title: string;
|
|
790
789
|
description: string;
|
|
791
|
-
|
|
790
|
+
default: boolean | null;
|
|
792
791
|
} | {
|
|
793
|
-
type: "select-
|
|
792
|
+
type: "select-string";
|
|
794
793
|
param: string;
|
|
795
794
|
title: string;
|
|
796
795
|
description: string;
|
|
797
|
-
default:
|
|
796
|
+
default: string | null;
|
|
797
|
+
choices: string[];
|
|
798
798
|
}>;
|
|
799
799
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
800
800
|
}>, {
|
|
@@ -805,33 +805,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
805
805
|
description: string;
|
|
806
806
|
max: number;
|
|
807
807
|
} | {
|
|
808
|
-
type: "
|
|
808
|
+
type: "object-schema";
|
|
809
809
|
param: string;
|
|
810
810
|
title: string;
|
|
811
811
|
description: string;
|
|
812
|
-
|
|
813
|
-
min: number;
|
|
814
|
-
step: number;
|
|
815
|
-
default: number;
|
|
812
|
+
objectSchema?: any;
|
|
816
813
|
} | {
|
|
817
|
-
type: "
|
|
814
|
+
type: "range";
|
|
818
815
|
param: string;
|
|
819
816
|
title: string;
|
|
820
817
|
description: string;
|
|
821
|
-
|
|
822
|
-
|
|
818
|
+
max: number;
|
|
819
|
+
default: number;
|
|
820
|
+
min: number;
|
|
821
|
+
step: number;
|
|
823
822
|
} | {
|
|
824
|
-
type: "
|
|
823
|
+
type: "select-boolean";
|
|
825
824
|
param: string;
|
|
826
825
|
title: string;
|
|
827
826
|
description: string;
|
|
828
|
-
|
|
827
|
+
default: boolean | null;
|
|
829
828
|
} | {
|
|
830
|
-
type: "select-
|
|
829
|
+
type: "select-string";
|
|
831
830
|
param: string;
|
|
832
831
|
title: string;
|
|
833
832
|
description: string;
|
|
834
|
-
default:
|
|
833
|
+
default: string | null;
|
|
834
|
+
choices: string[];
|
|
835
835
|
}>;
|
|
836
836
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
837
837
|
}, {
|
|
@@ -842,33 +842,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
842
842
|
description: string;
|
|
843
843
|
max: number;
|
|
844
844
|
} | {
|
|
845
|
-
type: "
|
|
845
|
+
type: "object-schema";
|
|
846
846
|
param: string;
|
|
847
847
|
title: string;
|
|
848
848
|
description: string;
|
|
849
|
-
|
|
850
|
-
min: number;
|
|
851
|
-
step: number;
|
|
852
|
-
default: number;
|
|
849
|
+
objectSchema?: any;
|
|
853
850
|
} | {
|
|
854
|
-
type: "
|
|
851
|
+
type: "range";
|
|
855
852
|
param: string;
|
|
856
853
|
title: string;
|
|
857
854
|
description: string;
|
|
858
|
-
|
|
859
|
-
|
|
855
|
+
max: number;
|
|
856
|
+
default: number;
|
|
857
|
+
min: number;
|
|
858
|
+
step: number;
|
|
860
859
|
} | {
|
|
861
|
-
type: "
|
|
860
|
+
type: "select-boolean";
|
|
862
861
|
param: string;
|
|
863
862
|
title: string;
|
|
864
863
|
description: string;
|
|
865
|
-
|
|
864
|
+
default: boolean | null;
|
|
866
865
|
} | {
|
|
867
|
-
type: "select-
|
|
866
|
+
type: "select-string";
|
|
868
867
|
param: string;
|
|
869
868
|
title: string;
|
|
870
869
|
description: string;
|
|
871
|
-
default:
|
|
870
|
+
default: string | null;
|
|
871
|
+
choices: string[];
|
|
872
872
|
}>;
|
|
873
873
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
874
874
|
}>;
|
|
@@ -895,18 +895,18 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
895
895
|
title: string;
|
|
896
896
|
description: string;
|
|
897
897
|
max: number;
|
|
898
|
+
default: number;
|
|
898
899
|
min: number;
|
|
899
900
|
step: number;
|
|
900
|
-
default: number;
|
|
901
901
|
}, {
|
|
902
902
|
type: "range";
|
|
903
903
|
param: string;
|
|
904
904
|
title: string;
|
|
905
905
|
description: string;
|
|
906
906
|
max: number;
|
|
907
|
+
default: number;
|
|
907
908
|
min: number;
|
|
908
909
|
step: number;
|
|
909
|
-
default: number;
|
|
910
910
|
}>, z.ZodObject<{
|
|
911
911
|
type: z.ZodLiteral<"multi-string">;
|
|
912
912
|
param: z.ZodString;
|
|
@@ -992,33 +992,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
992
992
|
description: string;
|
|
993
993
|
max: number;
|
|
994
994
|
} | {
|
|
995
|
-
type: "
|
|
995
|
+
type: "object-schema";
|
|
996
996
|
param: string;
|
|
997
997
|
title: string;
|
|
998
998
|
description: string;
|
|
999
|
-
|
|
1000
|
-
min: number;
|
|
1001
|
-
step: number;
|
|
1002
|
-
default: number;
|
|
999
|
+
objectSchema?: any;
|
|
1003
1000
|
} | {
|
|
1004
|
-
type: "
|
|
1001
|
+
type: "range";
|
|
1005
1002
|
param: string;
|
|
1006
1003
|
title: string;
|
|
1007
1004
|
description: string;
|
|
1008
|
-
|
|
1009
|
-
|
|
1005
|
+
max: number;
|
|
1006
|
+
default: number;
|
|
1007
|
+
min: number;
|
|
1008
|
+
step: number;
|
|
1010
1009
|
} | {
|
|
1011
|
-
type: "
|
|
1010
|
+
type: "select-boolean";
|
|
1012
1011
|
param: string;
|
|
1013
1012
|
title: string;
|
|
1014
1013
|
description: string;
|
|
1015
|
-
|
|
1014
|
+
default: boolean | null;
|
|
1016
1015
|
} | {
|
|
1017
|
-
type: "select-
|
|
1016
|
+
type: "select-string";
|
|
1018
1017
|
param: string;
|
|
1019
1018
|
title: string;
|
|
1020
1019
|
description: string;
|
|
1021
|
-
default:
|
|
1020
|
+
default: string | null;
|
|
1021
|
+
choices: string[];
|
|
1022
1022
|
}>;
|
|
1023
1023
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1024
1024
|
}, {
|
|
@@ -1029,33 +1029,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1029
1029
|
description: string;
|
|
1030
1030
|
max: number;
|
|
1031
1031
|
} | {
|
|
1032
|
-
type: "
|
|
1032
|
+
type: "object-schema";
|
|
1033
1033
|
param: string;
|
|
1034
1034
|
title: string;
|
|
1035
1035
|
description: string;
|
|
1036
|
-
|
|
1037
|
-
min: number;
|
|
1038
|
-
step: number;
|
|
1039
|
-
default: number;
|
|
1036
|
+
objectSchema?: any;
|
|
1040
1037
|
} | {
|
|
1041
|
-
type: "
|
|
1038
|
+
type: "range";
|
|
1042
1039
|
param: string;
|
|
1043
1040
|
title: string;
|
|
1044
1041
|
description: string;
|
|
1045
|
-
|
|
1046
|
-
|
|
1042
|
+
max: number;
|
|
1043
|
+
default: number;
|
|
1044
|
+
min: number;
|
|
1045
|
+
step: number;
|
|
1047
1046
|
} | {
|
|
1048
|
-
type: "
|
|
1047
|
+
type: "select-boolean";
|
|
1049
1048
|
param: string;
|
|
1050
1049
|
title: string;
|
|
1051
1050
|
description: string;
|
|
1052
|
-
|
|
1051
|
+
default: boolean | null;
|
|
1053
1052
|
} | {
|
|
1054
|
-
type: "select-
|
|
1053
|
+
type: "select-string";
|
|
1055
1054
|
param: string;
|
|
1056
1055
|
title: string;
|
|
1057
1056
|
description: string;
|
|
1058
|
-
default:
|
|
1057
|
+
default: string | null;
|
|
1058
|
+
choices: string[];
|
|
1059
1059
|
}>;
|
|
1060
1060
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1061
1061
|
}>, {
|
|
@@ -1066,33 +1066,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1066
1066
|
description: string;
|
|
1067
1067
|
max: number;
|
|
1068
1068
|
} | {
|
|
1069
|
-
type: "
|
|
1069
|
+
type: "object-schema";
|
|
1070
1070
|
param: string;
|
|
1071
1071
|
title: string;
|
|
1072
1072
|
description: string;
|
|
1073
|
-
|
|
1074
|
-
min: number;
|
|
1075
|
-
step: number;
|
|
1076
|
-
default: number;
|
|
1073
|
+
objectSchema?: any;
|
|
1077
1074
|
} | {
|
|
1078
|
-
type: "
|
|
1075
|
+
type: "range";
|
|
1079
1076
|
param: string;
|
|
1080
1077
|
title: string;
|
|
1081
1078
|
description: string;
|
|
1082
|
-
|
|
1083
|
-
|
|
1079
|
+
max: number;
|
|
1080
|
+
default: number;
|
|
1081
|
+
min: number;
|
|
1082
|
+
step: number;
|
|
1084
1083
|
} | {
|
|
1085
|
-
type: "
|
|
1084
|
+
type: "select-boolean";
|
|
1086
1085
|
param: string;
|
|
1087
1086
|
title: string;
|
|
1088
1087
|
description: string;
|
|
1089
|
-
|
|
1088
|
+
default: boolean | null;
|
|
1090
1089
|
} | {
|
|
1091
|
-
type: "select-
|
|
1090
|
+
type: "select-string";
|
|
1092
1091
|
param: string;
|
|
1093
1092
|
title: string;
|
|
1094
1093
|
description: string;
|
|
1095
|
-
default:
|
|
1094
|
+
default: string | null;
|
|
1095
|
+
choices: string[];
|
|
1096
1096
|
}>;
|
|
1097
1097
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1098
1098
|
}, {
|
|
@@ -1103,33 +1103,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1103
1103
|
description: string;
|
|
1104
1104
|
max: number;
|
|
1105
1105
|
} | {
|
|
1106
|
-
type: "
|
|
1106
|
+
type: "object-schema";
|
|
1107
1107
|
param: string;
|
|
1108
1108
|
title: string;
|
|
1109
1109
|
description: string;
|
|
1110
|
-
|
|
1111
|
-
min: number;
|
|
1112
|
-
step: number;
|
|
1113
|
-
default: number;
|
|
1110
|
+
objectSchema?: any;
|
|
1114
1111
|
} | {
|
|
1115
|
-
type: "
|
|
1112
|
+
type: "range";
|
|
1116
1113
|
param: string;
|
|
1117
1114
|
title: string;
|
|
1118
1115
|
description: string;
|
|
1119
|
-
|
|
1120
|
-
|
|
1116
|
+
max: number;
|
|
1117
|
+
default: number;
|
|
1118
|
+
min: number;
|
|
1119
|
+
step: number;
|
|
1121
1120
|
} | {
|
|
1122
|
-
type: "
|
|
1121
|
+
type: "select-boolean";
|
|
1123
1122
|
param: string;
|
|
1124
1123
|
title: string;
|
|
1125
1124
|
description: string;
|
|
1126
|
-
|
|
1125
|
+
default: boolean | null;
|
|
1127
1126
|
} | {
|
|
1128
|
-
type: "select-
|
|
1127
|
+
type: "select-string";
|
|
1129
1128
|
param: string;
|
|
1130
1129
|
title: string;
|
|
1131
1130
|
description: string;
|
|
1132
|
-
default:
|
|
1131
|
+
default: string | null;
|
|
1132
|
+
choices: string[];
|
|
1133
1133
|
}>;
|
|
1134
1134
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1135
1135
|
}>;
|
|
@@ -1156,18 +1156,18 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1156
1156
|
title: string;
|
|
1157
1157
|
description: string;
|
|
1158
1158
|
max: number;
|
|
1159
|
+
default: number;
|
|
1159
1160
|
min: number;
|
|
1160
1161
|
step: number;
|
|
1161
|
-
default: number;
|
|
1162
1162
|
}, {
|
|
1163
1163
|
type: "range";
|
|
1164
1164
|
param: string;
|
|
1165
1165
|
title: string;
|
|
1166
1166
|
description: string;
|
|
1167
1167
|
max: number;
|
|
1168
|
+
default: number;
|
|
1168
1169
|
min: number;
|
|
1169
1170
|
step: number;
|
|
1170
|
-
default: number;
|
|
1171
1171
|
}>, z.ZodObject<{
|
|
1172
1172
|
type: z.ZodLiteral<"multi-string">;
|
|
1173
1173
|
param: z.ZodString;
|
|
@@ -1253,33 +1253,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1253
1253
|
description: string;
|
|
1254
1254
|
max: number;
|
|
1255
1255
|
} | {
|
|
1256
|
-
type: "
|
|
1256
|
+
type: "object-schema";
|
|
1257
1257
|
param: string;
|
|
1258
1258
|
title: string;
|
|
1259
1259
|
description: string;
|
|
1260
|
-
|
|
1261
|
-
min: number;
|
|
1262
|
-
step: number;
|
|
1263
|
-
default: number;
|
|
1260
|
+
objectSchema?: any;
|
|
1264
1261
|
} | {
|
|
1265
|
-
type: "
|
|
1262
|
+
type: "range";
|
|
1266
1263
|
param: string;
|
|
1267
1264
|
title: string;
|
|
1268
1265
|
description: string;
|
|
1269
|
-
|
|
1270
|
-
|
|
1266
|
+
max: number;
|
|
1267
|
+
default: number;
|
|
1268
|
+
min: number;
|
|
1269
|
+
step: number;
|
|
1271
1270
|
} | {
|
|
1272
|
-
type: "
|
|
1271
|
+
type: "select-boolean";
|
|
1273
1272
|
param: string;
|
|
1274
1273
|
title: string;
|
|
1275
1274
|
description: string;
|
|
1276
|
-
|
|
1275
|
+
default: boolean | null;
|
|
1277
1276
|
} | {
|
|
1278
|
-
type: "select-
|
|
1277
|
+
type: "select-string";
|
|
1279
1278
|
param: string;
|
|
1280
1279
|
title: string;
|
|
1281
1280
|
description: string;
|
|
1282
|
-
default:
|
|
1281
|
+
default: string | null;
|
|
1282
|
+
choices: string[];
|
|
1283
1283
|
}>;
|
|
1284
1284
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1285
1285
|
}, {
|
|
@@ -1290,33 +1290,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1290
1290
|
description: string;
|
|
1291
1291
|
max: number;
|
|
1292
1292
|
} | {
|
|
1293
|
-
type: "
|
|
1293
|
+
type: "object-schema";
|
|
1294
1294
|
param: string;
|
|
1295
1295
|
title: string;
|
|
1296
1296
|
description: string;
|
|
1297
|
-
|
|
1298
|
-
min: number;
|
|
1299
|
-
step: number;
|
|
1300
|
-
default: number;
|
|
1297
|
+
objectSchema?: any;
|
|
1301
1298
|
} | {
|
|
1302
|
-
type: "
|
|
1299
|
+
type: "range";
|
|
1303
1300
|
param: string;
|
|
1304
1301
|
title: string;
|
|
1305
1302
|
description: string;
|
|
1306
|
-
|
|
1307
|
-
|
|
1303
|
+
max: number;
|
|
1304
|
+
default: number;
|
|
1305
|
+
min: number;
|
|
1306
|
+
step: number;
|
|
1308
1307
|
} | {
|
|
1309
|
-
type: "
|
|
1308
|
+
type: "select-boolean";
|
|
1310
1309
|
param: string;
|
|
1311
1310
|
title: string;
|
|
1312
1311
|
description: string;
|
|
1313
|
-
|
|
1312
|
+
default: boolean | null;
|
|
1314
1313
|
} | {
|
|
1315
|
-
type: "select-
|
|
1314
|
+
type: "select-string";
|
|
1316
1315
|
param: string;
|
|
1317
1316
|
title: string;
|
|
1318
1317
|
description: string;
|
|
1319
|
-
default:
|
|
1318
|
+
default: string | null;
|
|
1319
|
+
choices: string[];
|
|
1320
1320
|
}>;
|
|
1321
1321
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1322
1322
|
}>, {
|
|
@@ -1327,33 +1327,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1327
1327
|
description: string;
|
|
1328
1328
|
max: number;
|
|
1329
1329
|
} | {
|
|
1330
|
-
type: "
|
|
1330
|
+
type: "object-schema";
|
|
1331
1331
|
param: string;
|
|
1332
1332
|
title: string;
|
|
1333
1333
|
description: string;
|
|
1334
|
-
|
|
1335
|
-
min: number;
|
|
1336
|
-
step: number;
|
|
1337
|
-
default: number;
|
|
1334
|
+
objectSchema?: any;
|
|
1338
1335
|
} | {
|
|
1339
|
-
type: "
|
|
1336
|
+
type: "range";
|
|
1340
1337
|
param: string;
|
|
1341
1338
|
title: string;
|
|
1342
1339
|
description: string;
|
|
1343
|
-
|
|
1344
|
-
|
|
1340
|
+
max: number;
|
|
1341
|
+
default: number;
|
|
1342
|
+
min: number;
|
|
1343
|
+
step: number;
|
|
1345
1344
|
} | {
|
|
1346
|
-
type: "
|
|
1345
|
+
type: "select-boolean";
|
|
1347
1346
|
param: string;
|
|
1348
1347
|
title: string;
|
|
1349
1348
|
description: string;
|
|
1350
|
-
|
|
1349
|
+
default: boolean | null;
|
|
1351
1350
|
} | {
|
|
1352
|
-
type: "select-
|
|
1351
|
+
type: "select-string";
|
|
1353
1352
|
param: string;
|
|
1354
1353
|
title: string;
|
|
1355
1354
|
description: string;
|
|
1356
|
-
default:
|
|
1355
|
+
default: string | null;
|
|
1356
|
+
choices: string[];
|
|
1357
1357
|
}>;
|
|
1358
1358
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1359
1359
|
}, {
|
|
@@ -1364,33 +1364,33 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
|
|
|
1364
1364
|
description: string;
|
|
1365
1365
|
max: number;
|
|
1366
1366
|
} | {
|
|
1367
|
-
type: "
|
|
1367
|
+
type: "object-schema";
|
|
1368
1368
|
param: string;
|
|
1369
1369
|
title: string;
|
|
1370
1370
|
description: string;
|
|
1371
|
-
|
|
1372
|
-
min: number;
|
|
1373
|
-
step: number;
|
|
1374
|
-
default: number;
|
|
1371
|
+
objectSchema?: any;
|
|
1375
1372
|
} | {
|
|
1376
|
-
type: "
|
|
1373
|
+
type: "range";
|
|
1377
1374
|
param: string;
|
|
1378
1375
|
title: string;
|
|
1379
1376
|
description: string;
|
|
1380
|
-
|
|
1381
|
-
|
|
1377
|
+
max: number;
|
|
1378
|
+
default: number;
|
|
1379
|
+
min: number;
|
|
1380
|
+
step: number;
|
|
1382
1381
|
} | {
|
|
1383
|
-
type: "
|
|
1382
|
+
type: "select-boolean";
|
|
1384
1383
|
param: string;
|
|
1385
1384
|
title: string;
|
|
1386
1385
|
description: string;
|
|
1387
|
-
|
|
1386
|
+
default: boolean | null;
|
|
1388
1387
|
} | {
|
|
1389
|
-
type: "select-
|
|
1388
|
+
type: "select-string";
|
|
1390
1389
|
param: string;
|
|
1391
1390
|
title: string;
|
|
1392
1391
|
description: string;
|
|
1393
|
-
default:
|
|
1392
|
+
default: string | null;
|
|
1393
|
+
choices: string[];
|
|
1394
1394
|
}>;
|
|
1395
1395
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1396
1396
|
}>;
|
|
@@ -1424,18 +1424,18 @@ declare const ConfigItemDef: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1424
1424
|
title: string;
|
|
1425
1425
|
description: string;
|
|
1426
1426
|
max: number;
|
|
1427
|
+
default: number;
|
|
1427
1428
|
min: number;
|
|
1428
1429
|
step: number;
|
|
1429
|
-
default: number;
|
|
1430
1430
|
}, {
|
|
1431
1431
|
type: "range";
|
|
1432
1432
|
param: string;
|
|
1433
1433
|
title: string;
|
|
1434
1434
|
description: string;
|
|
1435
1435
|
max: number;
|
|
1436
|
+
default: number;
|
|
1436
1437
|
min: number;
|
|
1437
1438
|
step: number;
|
|
1438
|
-
default: number;
|
|
1439
1439
|
}>, z.ZodObject<{
|
|
1440
1440
|
type: z.ZodLiteral<"multi-string">;
|
|
1441
1441
|
param: z.ZodString;
|
|
@@ -1564,18 +1564,18 @@ declare const RangeConfigItemDef: z.ZodObject<{
|
|
|
1564
1564
|
title: string;
|
|
1565
1565
|
description: string;
|
|
1566
1566
|
max: number;
|
|
1567
|
+
default: number;
|
|
1567
1568
|
min: number;
|
|
1568
1569
|
step: number;
|
|
1569
|
-
default: number;
|
|
1570
1570
|
}, {
|
|
1571
1571
|
type: "range";
|
|
1572
1572
|
param: string;
|
|
1573
1573
|
title: string;
|
|
1574
1574
|
description: string;
|
|
1575
1575
|
max: number;
|
|
1576
|
+
default: number;
|
|
1576
1577
|
min: number;
|
|
1577
1578
|
step: number;
|
|
1578
|
-
default: number;
|
|
1579
1579
|
}>;
|
|
1580
1580
|
type RangeConfigItemDefType = z.infer<typeof RangeConfigItemDef>;
|
|
1581
1581
|
declare const RangeConfigItemSchema: (min: number, max: number, step: number, defaultValue: number) => z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -1587,9 +1587,9 @@ declare const RangeConfigItem: (data: Omit<RangeConfigItemDefType, "type">) => {
|
|
|
1587
1587
|
title: string;
|
|
1588
1588
|
description: string;
|
|
1589
1589
|
max: number;
|
|
1590
|
+
default: number;
|
|
1590
1591
|
min: number;
|
|
1591
1592
|
step: number;
|
|
1592
|
-
default: number;
|
|
1593
1593
|
};
|
|
1594
1594
|
schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1595
1595
|
};
|
|
@@ -1759,18 +1759,18 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
1759
1759
|
title: string;
|
|
1760
1760
|
description: string;
|
|
1761
1761
|
max: number;
|
|
1762
|
+
default: number;
|
|
1762
1763
|
min: number;
|
|
1763
1764
|
step: number;
|
|
1764
|
-
default: number;
|
|
1765
1765
|
}, {
|
|
1766
1766
|
type: "range";
|
|
1767
1767
|
param: string;
|
|
1768
1768
|
title: string;
|
|
1769
1769
|
description: string;
|
|
1770
1770
|
max: number;
|
|
1771
|
+
default: number;
|
|
1771
1772
|
min: number;
|
|
1772
1773
|
step: number;
|
|
1773
|
-
default: number;
|
|
1774
1774
|
}>, z.ZodObject<{
|
|
1775
1775
|
type: z.ZodLiteral<"multi-string">;
|
|
1776
1776
|
param: z.ZodString;
|
|
@@ -1856,33 +1856,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
1856
1856
|
description: string;
|
|
1857
1857
|
max: number;
|
|
1858
1858
|
} | {
|
|
1859
|
-
type: "
|
|
1859
|
+
type: "object-schema";
|
|
1860
1860
|
param: string;
|
|
1861
1861
|
title: string;
|
|
1862
1862
|
description: string;
|
|
1863
|
-
|
|
1864
|
-
min: number;
|
|
1865
|
-
step: number;
|
|
1866
|
-
default: number;
|
|
1863
|
+
objectSchema?: any;
|
|
1867
1864
|
} | {
|
|
1868
|
-
type: "
|
|
1865
|
+
type: "range";
|
|
1869
1866
|
param: string;
|
|
1870
1867
|
title: string;
|
|
1871
1868
|
description: string;
|
|
1872
|
-
|
|
1873
|
-
|
|
1869
|
+
max: number;
|
|
1870
|
+
default: number;
|
|
1871
|
+
min: number;
|
|
1872
|
+
step: number;
|
|
1874
1873
|
} | {
|
|
1875
|
-
type: "
|
|
1874
|
+
type: "select-boolean";
|
|
1876
1875
|
param: string;
|
|
1877
1876
|
title: string;
|
|
1878
1877
|
description: string;
|
|
1879
|
-
|
|
1878
|
+
default: boolean | null;
|
|
1880
1879
|
} | {
|
|
1881
|
-
type: "select-
|
|
1880
|
+
type: "select-string";
|
|
1882
1881
|
param: string;
|
|
1883
1882
|
title: string;
|
|
1884
1883
|
description: string;
|
|
1885
|
-
default:
|
|
1884
|
+
default: string | null;
|
|
1885
|
+
choices: string[];
|
|
1886
1886
|
}>;
|
|
1887
1887
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1888
1888
|
}, {
|
|
@@ -1893,33 +1893,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
1893
1893
|
description: string;
|
|
1894
1894
|
max: number;
|
|
1895
1895
|
} | {
|
|
1896
|
-
type: "
|
|
1896
|
+
type: "object-schema";
|
|
1897
1897
|
param: string;
|
|
1898
1898
|
title: string;
|
|
1899
1899
|
description: string;
|
|
1900
|
-
|
|
1901
|
-
min: number;
|
|
1902
|
-
step: number;
|
|
1903
|
-
default: number;
|
|
1900
|
+
objectSchema?: any;
|
|
1904
1901
|
} | {
|
|
1905
|
-
type: "
|
|
1902
|
+
type: "range";
|
|
1906
1903
|
param: string;
|
|
1907
1904
|
title: string;
|
|
1908
1905
|
description: string;
|
|
1909
|
-
|
|
1910
|
-
|
|
1906
|
+
max: number;
|
|
1907
|
+
default: number;
|
|
1908
|
+
min: number;
|
|
1909
|
+
step: number;
|
|
1911
1910
|
} | {
|
|
1912
|
-
type: "
|
|
1911
|
+
type: "select-boolean";
|
|
1913
1912
|
param: string;
|
|
1914
1913
|
title: string;
|
|
1915
1914
|
description: string;
|
|
1916
|
-
|
|
1915
|
+
default: boolean | null;
|
|
1917
1916
|
} | {
|
|
1918
|
-
type: "select-
|
|
1917
|
+
type: "select-string";
|
|
1919
1918
|
param: string;
|
|
1920
1919
|
title: string;
|
|
1921
1920
|
description: string;
|
|
1922
|
-
default:
|
|
1921
|
+
default: string | null;
|
|
1922
|
+
choices: string[];
|
|
1923
1923
|
}>;
|
|
1924
1924
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1925
1925
|
}>, {
|
|
@@ -1930,33 +1930,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
1930
1930
|
description: string;
|
|
1931
1931
|
max: number;
|
|
1932
1932
|
} | {
|
|
1933
|
-
type: "
|
|
1933
|
+
type: "object-schema";
|
|
1934
1934
|
param: string;
|
|
1935
1935
|
title: string;
|
|
1936
1936
|
description: string;
|
|
1937
|
-
|
|
1938
|
-
min: number;
|
|
1939
|
-
step: number;
|
|
1940
|
-
default: number;
|
|
1937
|
+
objectSchema?: any;
|
|
1941
1938
|
} | {
|
|
1942
|
-
type: "
|
|
1939
|
+
type: "range";
|
|
1943
1940
|
param: string;
|
|
1944
1941
|
title: string;
|
|
1945
1942
|
description: string;
|
|
1946
|
-
|
|
1947
|
-
|
|
1943
|
+
max: number;
|
|
1944
|
+
default: number;
|
|
1945
|
+
min: number;
|
|
1946
|
+
step: number;
|
|
1948
1947
|
} | {
|
|
1949
|
-
type: "
|
|
1948
|
+
type: "select-boolean";
|
|
1950
1949
|
param: string;
|
|
1951
1950
|
title: string;
|
|
1952
1951
|
description: string;
|
|
1953
|
-
|
|
1952
|
+
default: boolean | null;
|
|
1954
1953
|
} | {
|
|
1955
|
-
type: "select-
|
|
1954
|
+
type: "select-string";
|
|
1956
1955
|
param: string;
|
|
1957
1956
|
title: string;
|
|
1958
1957
|
description: string;
|
|
1959
|
-
default:
|
|
1958
|
+
default: string | null;
|
|
1959
|
+
choices: string[];
|
|
1960
1960
|
}>;
|
|
1961
1961
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1962
1962
|
}, {
|
|
@@ -1967,33 +1967,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
1967
1967
|
description: string;
|
|
1968
1968
|
max: number;
|
|
1969
1969
|
} | {
|
|
1970
|
-
type: "
|
|
1970
|
+
type: "object-schema";
|
|
1971
1971
|
param: string;
|
|
1972
1972
|
title: string;
|
|
1973
1973
|
description: string;
|
|
1974
|
-
|
|
1975
|
-
min: number;
|
|
1976
|
-
step: number;
|
|
1977
|
-
default: number;
|
|
1974
|
+
objectSchema?: any;
|
|
1978
1975
|
} | {
|
|
1979
|
-
type: "
|
|
1976
|
+
type: "range";
|
|
1980
1977
|
param: string;
|
|
1981
1978
|
title: string;
|
|
1982
1979
|
description: string;
|
|
1983
|
-
|
|
1984
|
-
|
|
1980
|
+
max: number;
|
|
1981
|
+
default: number;
|
|
1982
|
+
min: number;
|
|
1983
|
+
step: number;
|
|
1985
1984
|
} | {
|
|
1986
|
-
type: "
|
|
1985
|
+
type: "select-boolean";
|
|
1987
1986
|
param: string;
|
|
1988
1987
|
title: string;
|
|
1989
1988
|
description: string;
|
|
1990
|
-
|
|
1989
|
+
default: boolean | null;
|
|
1991
1990
|
} | {
|
|
1992
|
-
type: "select-
|
|
1991
|
+
type: "select-string";
|
|
1993
1992
|
param: string;
|
|
1994
1993
|
title: string;
|
|
1995
1994
|
description: string;
|
|
1996
|
-
default:
|
|
1995
|
+
default: string | null;
|
|
1996
|
+
choices: string[];
|
|
1997
1997
|
}>;
|
|
1998
1998
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
1999
1999
|
}>;
|
|
@@ -2011,33 +2011,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
2011
2011
|
description: string;
|
|
2012
2012
|
max: number;
|
|
2013
2013
|
} | {
|
|
2014
|
-
type: "
|
|
2014
|
+
type: "object-schema";
|
|
2015
2015
|
param: string;
|
|
2016
2016
|
title: string;
|
|
2017
2017
|
description: string;
|
|
2018
|
-
|
|
2019
|
-
min: number;
|
|
2020
|
-
step: number;
|
|
2021
|
-
default: number;
|
|
2018
|
+
objectSchema?: any;
|
|
2022
2019
|
} | {
|
|
2023
|
-
type: "
|
|
2020
|
+
type: "range";
|
|
2024
2021
|
param: string;
|
|
2025
2022
|
title: string;
|
|
2026
2023
|
description: string;
|
|
2027
|
-
|
|
2028
|
-
|
|
2024
|
+
max: number;
|
|
2025
|
+
default: number;
|
|
2026
|
+
min: number;
|
|
2027
|
+
step: number;
|
|
2029
2028
|
} | {
|
|
2030
|
-
type: "
|
|
2029
|
+
type: "select-boolean";
|
|
2031
2030
|
param: string;
|
|
2032
2031
|
title: string;
|
|
2033
2032
|
description: string;
|
|
2034
|
-
|
|
2033
|
+
default: boolean | null;
|
|
2035
2034
|
} | {
|
|
2036
|
-
type: "select-
|
|
2035
|
+
type: "select-string";
|
|
2037
2036
|
param: string;
|
|
2038
2037
|
title: string;
|
|
2039
2038
|
description: string;
|
|
2040
|
-
default:
|
|
2039
|
+
default: string | null;
|
|
2040
|
+
choices: string[];
|
|
2041
2041
|
}>;
|
|
2042
2042
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2043
2043
|
};
|
|
@@ -2055,33 +2055,33 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
|
|
|
2055
2055
|
description: string;
|
|
2056
2056
|
max: number;
|
|
2057
2057
|
} | {
|
|
2058
|
-
type: "
|
|
2058
|
+
type: "object-schema";
|
|
2059
2059
|
param: string;
|
|
2060
2060
|
title: string;
|
|
2061
2061
|
description: string;
|
|
2062
|
-
|
|
2063
|
-
min: number;
|
|
2064
|
-
step: number;
|
|
2065
|
-
default: number;
|
|
2062
|
+
objectSchema?: any;
|
|
2066
2063
|
} | {
|
|
2067
|
-
type: "
|
|
2064
|
+
type: "range";
|
|
2068
2065
|
param: string;
|
|
2069
2066
|
title: string;
|
|
2070
2067
|
description: string;
|
|
2071
|
-
|
|
2072
|
-
|
|
2068
|
+
max: number;
|
|
2069
|
+
default: number;
|
|
2070
|
+
min: number;
|
|
2071
|
+
step: number;
|
|
2073
2072
|
} | {
|
|
2074
|
-
type: "
|
|
2073
|
+
type: "select-boolean";
|
|
2075
2074
|
param: string;
|
|
2076
2075
|
title: string;
|
|
2077
2076
|
description: string;
|
|
2078
|
-
|
|
2077
|
+
default: boolean | null;
|
|
2079
2078
|
} | {
|
|
2080
|
-
type: "select-
|
|
2079
|
+
type: "select-string";
|
|
2081
2080
|
param: string;
|
|
2082
2081
|
title: string;
|
|
2083
2082
|
description: string;
|
|
2084
|
-
default:
|
|
2083
|
+
default: string | null;
|
|
2084
|
+
choices: string[];
|
|
2085
2085
|
}>;
|
|
2086
2086
|
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
2087
2087
|
};
|
|
@@ -2116,13 +2116,11 @@ interface ProviderV1<O extends Record<string, any> = Record<string, any>> {
|
|
|
2116
2116
|
readonly version: "v1";
|
|
2117
2117
|
readonly name: string;
|
|
2118
2118
|
chatModelLiterals(): string[];
|
|
2119
|
-
chatModel(name: string, options: O): ChatModelV1;
|
|
2120
|
-
chatModelSchema(name: string): ChatModelSchemaType;
|
|
2121
2119
|
chatModelSchemas(): Record<string, ChatModelSchemaType>;
|
|
2120
|
+
chatModel(options: O): ChatModelV1;
|
|
2122
2121
|
embeddingModelLiterals(): string[];
|
|
2123
|
-
embeddingModel(name: string, options: O): EmbeddingModelV1;
|
|
2124
|
-
embeddingModelSchema(name: string): EmbeddingModelSchemaType;
|
|
2125
2122
|
embeddingModelSchemas(): Record<string, EmbeddingModelSchemaType>;
|
|
2123
|
+
embeddingModel(options: O): EmbeddingModelV1;
|
|
2126
2124
|
}
|
|
2127
2125
|
|
|
2128
2126
|
declare const CHAT_CONFIG: {
|