@adaline/gateway 0.18.0 → 0.19.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { GatewayBaseError } from '@adaline/types';
2
- import { z } from 'zod';
3
2
  import { Context, Tracer, Meter } from '@opentelemetry/api';
3
+ import { z } from 'zod';
4
4
  import { ChatModelV1, EmbeddingModelV1 } from '@adaline/provider';
5
5
  import { AxiosInstance } from 'axios';
6
6
 
@@ -492,33 +492,33 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
492
492
  description: string;
493
493
  max: number;
494
494
  } | {
495
- type: "range";
495
+ type: "object-schema";
496
496
  param: string;
497
497
  title: string;
498
498
  description: string;
499
- max: number;
500
- min: number;
501
- step: number;
502
- default: number;
499
+ objectSchema?: any;
503
500
  } | {
504
- type: "select-string";
501
+ type: "range";
505
502
  param: string;
506
503
  title: string;
507
504
  description: string;
508
- default: string | null;
509
- choices: string[];
505
+ max: number;
506
+ default: number;
507
+ min: number;
508
+ step: number;
510
509
  } | {
511
- type: "object-schema";
510
+ type: "select-boolean";
512
511
  param: string;
513
512
  title: string;
514
513
  description: string;
515
- objectSchema?: any;
514
+ default: boolean | null;
516
515
  } | {
517
- type: "select-boolean";
516
+ type: "select-string";
518
517
  param: string;
519
518
  title: string;
520
519
  description: string;
521
- default: boolean | null;
520
+ default: string | null;
521
+ choices: string[];
522
522
  }>;
523
523
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
524
524
  };
@@ -537,33 +537,33 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
537
537
  description: string;
538
538
  max: number;
539
539
  } | {
540
- type: "range";
540
+ type: "object-schema";
541
541
  param: string;
542
542
  title: string;
543
543
  description: string;
544
- max: number;
545
- min: number;
546
- step: number;
547
- default: number;
544
+ objectSchema?: any;
548
545
  } | {
549
- type: "select-string";
546
+ type: "range";
550
547
  param: string;
551
548
  title: string;
552
549
  description: string;
553
- default: string | null;
554
- choices: string[];
550
+ max: number;
551
+ default: number;
552
+ min: number;
553
+ step: number;
555
554
  } | {
556
- type: "object-schema";
555
+ type: "select-boolean";
557
556
  param: string;
558
557
  title: string;
559
558
  description: string;
560
- objectSchema?: any;
559
+ default: boolean | null;
561
560
  } | {
562
- type: "select-boolean";
561
+ type: "select-string";
563
562
  param: string;
564
563
  title: string;
565
564
  description: string;
566
- default: boolean | null;
565
+ default: string | null;
566
+ choices: string[];
567
567
  }>;
568
568
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
569
569
  };
@@ -826,33 +826,33 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
826
826
  description: string;
827
827
  max: number;
828
828
  } | {
829
- type: "range";
829
+ type: "object-schema";
830
830
  param: string;
831
831
  title: string;
832
832
  description: string;
833
- max: number;
834
- min: number;
835
- step: number;
836
- default: number;
833
+ objectSchema?: any;
837
834
  } | {
838
- type: "select-string";
835
+ type: "range";
839
836
  param: string;
840
837
  title: string;
841
838
  description: string;
842
- default: string | null;
843
- choices: string[];
839
+ max: number;
840
+ default: number;
841
+ min: number;
842
+ step: number;
844
843
  } | {
845
- type: "object-schema";
844
+ type: "select-boolean";
846
845
  param: string;
847
846
  title: string;
848
847
  description: string;
849
- objectSchema?: any;
848
+ default: boolean | null;
850
849
  } | {
851
- type: "select-boolean";
850
+ type: "select-string";
852
851
  param: string;
853
852
  title: string;
854
853
  description: string;
855
- default: boolean | null;
854
+ default: string | null;
855
+ choices: string[];
856
856
  }>;
857
857
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
858
858
  };
@@ -1036,33 +1036,33 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
1036
1036
  description: string;
1037
1037
  max: number;
1038
1038
  } | {
1039
- type: "range";
1039
+ type: "object-schema";
1040
1040
  param: string;
1041
1041
  title: string;
1042
1042
  description: string;
1043
- max: number;
1044
- min: number;
1045
- step: number;
1046
- default: number;
1043
+ objectSchema?: any;
1047
1044
  } | {
1048
- type: "select-string";
1045
+ type: "range";
1049
1046
  param: string;
1050
1047
  title: string;
1051
1048
  description: string;
1052
- default: string | null;
1053
- choices: string[];
1049
+ max: number;
1050
+ default: number;
1051
+ min: number;
1052
+ step: number;
1054
1053
  } | {
1055
- type: "object-schema";
1054
+ type: "select-boolean";
1056
1055
  param: string;
1057
1056
  title: string;
1058
1057
  description: string;
1059
- objectSchema?: any;
1058
+ default: boolean | null;
1060
1059
  } | {
1061
- type: "select-boolean";
1060
+ type: "select-string";
1062
1061
  param: string;
1063
1062
  title: string;
1064
1063
  description: string;
1065
- default: boolean | null;
1064
+ default: string | null;
1065
+ choices: string[];
1066
1066
  }>;
1067
1067
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
1068
1068
  };
@@ -2238,33 +2238,33 @@ declare const GetEmbeddingsHandlerRequest: z.ZodObject<{
2238
2238
  description: string;
2239
2239
  max: number;
2240
2240
  } | {
2241
- type: "range";
2241
+ type: "object-schema";
2242
2242
  param: string;
2243
2243
  title: string;
2244
2244
  description: string;
2245
- max: number;
2246
- min: number;
2247
- step: number;
2248
- default: number;
2245
+ objectSchema?: any;
2249
2246
  } | {
2250
- type: "select-string";
2247
+ type: "range";
2251
2248
  param: string;
2252
2249
  title: string;
2253
2250
  description: string;
2254
- default: string | null;
2255
- choices: string[];
2251
+ max: number;
2252
+ default: number;
2253
+ min: number;
2254
+ step: number;
2256
2255
  } | {
2257
- type: "object-schema";
2256
+ type: "select-boolean";
2258
2257
  param: string;
2259
2258
  title: string;
2260
2259
  description: string;
2261
- objectSchema?: any;
2260
+ default: boolean | null;
2262
2261
  } | {
2263
- type: "select-boolean";
2262
+ type: "select-string";
2264
2263
  param: string;
2265
2264
  title: string;
2266
2265
  description: string;
2267
- default: boolean | null;
2266
+ default: string | null;
2267
+ choices: string[];
2268
2268
  }>;
2269
2269
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2270
2270
  };
@@ -2282,33 +2282,33 @@ declare const GetEmbeddingsHandlerRequest: z.ZodObject<{
2282
2282
  description: string;
2283
2283
  max: number;
2284
2284
  } | {
2285
- type: "range";
2285
+ type: "object-schema";
2286
2286
  param: string;
2287
2287
  title: string;
2288
2288
  description: string;
2289
- max: number;
2290
- min: number;
2291
- step: number;
2292
- default: number;
2289
+ objectSchema?: any;
2293
2290
  } | {
2294
- type: "select-string";
2291
+ type: "range";
2295
2292
  param: string;
2296
2293
  title: string;
2297
2294
  description: string;
2298
- default: string | null;
2299
- choices: string[];
2295
+ max: number;
2296
+ default: number;
2297
+ min: number;
2298
+ step: number;
2300
2299
  } | {
2301
- type: "object-schema";
2300
+ type: "select-boolean";
2302
2301
  param: string;
2303
2302
  title: string;
2304
2303
  description: string;
2305
- objectSchema?: any;
2304
+ default: boolean | null;
2306
2305
  } | {
2307
- type: "select-boolean";
2306
+ type: "select-string";
2308
2307
  param: string;
2309
2308
  title: string;
2310
2309
  description: string;
2311
- default: boolean | null;
2310
+ default: string | null;
2311
+ choices: string[];
2312
2312
  }>;
2313
2313
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2314
2314
  };
@@ -2359,33 +2359,33 @@ declare const GetEmbeddingsHandlerRequest: z.ZodObject<{
2359
2359
  description: string;
2360
2360
  max: number;
2361
2361
  } | {
2362
- type: "range";
2362
+ type: "object-schema";
2363
2363
  param: string;
2364
2364
  title: string;
2365
2365
  description: string;
2366
- max: number;
2367
- min: number;
2368
- step: number;
2369
- default: number;
2366
+ objectSchema?: any;
2370
2367
  } | {
2371
- type: "select-string";
2368
+ type: "range";
2372
2369
  param: string;
2373
2370
  title: string;
2374
2371
  description: string;
2375
- default: string | null;
2376
- choices: string[];
2372
+ max: number;
2373
+ default: number;
2374
+ min: number;
2375
+ step: number;
2377
2376
  } | {
2378
- type: "object-schema";
2377
+ type: "select-boolean";
2379
2378
  param: string;
2380
2379
  title: string;
2381
2380
  description: string;
2382
- objectSchema?: any;
2381
+ default: boolean | null;
2383
2382
  } | {
2384
- type: "select-boolean";
2383
+ type: "select-string";
2385
2384
  param: string;
2386
2385
  title: string;
2387
2386
  description: string;
2388
- default: boolean | null;
2387
+ default: string | null;
2388
+ choices: string[];
2389
2389
  }>;
2390
2390
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2391
2391
  };
@@ -2459,33 +2459,33 @@ declare const GetEmbeddingsHandlerRequest: z.ZodObject<{
2459
2459
  description: string;
2460
2460
  max: number;
2461
2461
  } | {
2462
- type: "range";
2462
+ type: "object-schema";
2463
2463
  param: string;
2464
2464
  title: string;
2465
2465
  description: string;
2466
- max: number;
2467
- min: number;
2468
- step: number;
2469
- default: number;
2466
+ objectSchema?: any;
2470
2467
  } | {
2471
- type: "select-string";
2468
+ type: "range";
2472
2469
  param: string;
2473
2470
  title: string;
2474
2471
  description: string;
2475
- default: string | null;
2476
- choices: string[];
2472
+ max: number;
2473
+ default: number;
2474
+ min: number;
2475
+ step: number;
2477
2476
  } | {
2478
- type: "object-schema";
2477
+ type: "select-boolean";
2479
2478
  param: string;
2480
2479
  title: string;
2481
2480
  description: string;
2482
- objectSchema?: any;
2481
+ default: boolean | null;
2483
2482
  } | {
2484
- type: "select-boolean";
2483
+ type: "select-string";
2485
2484
  param: string;
2486
2485
  title: string;
2487
2486
  description: string;
2488
- default: boolean | null;
2487
+ default: string | null;
2488
+ choices: string[];
2489
2489
  }>;
2490
2490
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2491
2491
  };
@@ -2789,33 +2789,33 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
2789
2789
  description: string;
2790
2790
  max: number;
2791
2791
  } | {
2792
- type: "range";
2792
+ type: "object-schema";
2793
2793
  param: string;
2794
2794
  title: string;
2795
2795
  description: string;
2796
- max: number;
2797
- min: number;
2798
- step: number;
2799
- default: number;
2796
+ objectSchema?: any;
2800
2797
  } | {
2801
- type: "select-string";
2798
+ type: "range";
2802
2799
  param: string;
2803
2800
  title: string;
2804
2801
  description: string;
2805
- default: string | null;
2806
- choices: string[];
2802
+ max: number;
2803
+ default: number;
2804
+ min: number;
2805
+ step: number;
2807
2806
  } | {
2808
- type: "object-schema";
2807
+ type: "select-boolean";
2809
2808
  param: string;
2810
2809
  title: string;
2811
2810
  description: string;
2812
- objectSchema?: any;
2811
+ default: boolean | null;
2813
2812
  } | {
2814
- type: "select-boolean";
2813
+ type: "select-string";
2815
2814
  param: string;
2816
2815
  title: string;
2817
2816
  description: string;
2818
- default: boolean | null;
2817
+ default: string | null;
2818
+ choices: string[];
2819
2819
  }>;
2820
2820
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2821
2821
  };
@@ -2834,33 +2834,33 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
2834
2834
  description: string;
2835
2835
  max: number;
2836
2836
  } | {
2837
- type: "range";
2837
+ type: "object-schema";
2838
2838
  param: string;
2839
2839
  title: string;
2840
2840
  description: string;
2841
- max: number;
2842
- min: number;
2843
- step: number;
2844
- default: number;
2841
+ objectSchema?: any;
2845
2842
  } | {
2846
- type: "select-string";
2843
+ type: "range";
2847
2844
  param: string;
2848
2845
  title: string;
2849
2846
  description: string;
2850
- default: string | null;
2851
- choices: string[];
2847
+ max: number;
2848
+ default: number;
2849
+ min: number;
2850
+ step: number;
2852
2851
  } | {
2853
- type: "object-schema";
2852
+ type: "select-boolean";
2854
2853
  param: string;
2855
2854
  title: string;
2856
2855
  description: string;
2857
- objectSchema?: any;
2856
+ default: boolean | null;
2858
2857
  } | {
2859
- type: "select-boolean";
2858
+ type: "select-string";
2860
2859
  param: string;
2861
2860
  title: string;
2862
2861
  description: string;
2863
- default: boolean | null;
2862
+ default: string | null;
2863
+ choices: string[];
2864
2864
  }>;
2865
2865
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
2866
2866
  };
@@ -3121,15 +3121,27 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
3121
3121
  title: string;
3122
3122
  description: string;
3123
3123
  max: number;
3124
+ } | {
3125
+ type: "object-schema";
3126
+ param: string;
3127
+ title: string;
3128
+ description: string;
3129
+ objectSchema?: any;
3124
3130
  } | {
3125
3131
  type: "range";
3126
3132
  param: string;
3127
3133
  title: string;
3128
3134
  description: string;
3129
3135
  max: number;
3136
+ default: number;
3130
3137
  min: number;
3131
3138
  step: number;
3132
- default: number;
3139
+ } | {
3140
+ type: "select-boolean";
3141
+ param: string;
3142
+ title: string;
3143
+ description: string;
3144
+ default: boolean | null;
3133
3145
  } | {
3134
3146
  type: "select-string";
3135
3147
  param: string;
@@ -3137,18 +3149,6 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
3137
3149
  description: string;
3138
3150
  default: string | null;
3139
3151
  choices: string[];
3140
- } | {
3141
- type: "object-schema";
3142
- param: string;
3143
- title: string;
3144
- description: string;
3145
- objectSchema?: any;
3146
- } | {
3147
- type: "select-boolean";
3148
- param: string;
3149
- title: string;
3150
- description: string;
3151
- default: boolean | null;
3152
3152
  }>;
3153
3153
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3154
3154
  };
@@ -3220,33 +3220,33 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
3220
3220
  description: string;
3221
3221
  max: number;
3222
3222
  } | {
3223
- type: "range";
3223
+ type: "object-schema";
3224
3224
  param: string;
3225
3225
  title: string;
3226
3226
  description: string;
3227
- max: number;
3228
- min: number;
3229
- step: number;
3230
- default: number;
3227
+ objectSchema?: any;
3231
3228
  } | {
3232
- type: "select-string";
3229
+ type: "range";
3233
3230
  param: string;
3234
3231
  title: string;
3235
3232
  description: string;
3236
- default: string | null;
3237
- choices: string[];
3233
+ max: number;
3234
+ default: number;
3235
+ min: number;
3236
+ step: number;
3238
3237
  } | {
3239
- type: "object-schema";
3238
+ type: "select-boolean";
3240
3239
  param: string;
3241
3240
  title: string;
3242
3241
  description: string;
3243
- objectSchema?: any;
3242
+ default: boolean | null;
3244
3243
  } | {
3245
- type: "select-boolean";
3244
+ type: "select-string";
3246
3245
  param: string;
3247
3246
  title: string;
3248
3247
  description: string;
3249
- default: boolean | null;
3248
+ default: string | null;
3249
+ choices: string[];
3250
3250
  }>;
3251
3251
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
3252
3252
  };
@@ -4737,33 +4737,33 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
4737
4737
  description: string;
4738
4738
  max: number;
4739
4739
  } | {
4740
- type: "range";
4740
+ type: "object-schema";
4741
4741
  param: string;
4742
4742
  title: string;
4743
4743
  description: string;
4744
- max: number;
4745
- min: number;
4746
- step: number;
4747
- default: number;
4744
+ objectSchema?: any;
4748
4745
  } | {
4749
- type: "select-string";
4746
+ type: "range";
4750
4747
  param: string;
4751
4748
  title: string;
4752
4749
  description: string;
4753
- default: string | null;
4754
- choices: string[];
4750
+ max: number;
4751
+ default: number;
4752
+ min: number;
4753
+ step: number;
4755
4754
  } | {
4756
- type: "object-schema";
4755
+ type: "select-boolean";
4757
4756
  param: string;
4758
4757
  title: string;
4759
4758
  description: string;
4760
- objectSchema?: any;
4759
+ default: boolean | null;
4761
4760
  } | {
4762
- type: "select-boolean";
4761
+ type: "select-string";
4763
4762
  param: string;
4764
4763
  title: string;
4765
4764
  description: string;
4766
- default: boolean | null;
4765
+ default: string | null;
4766
+ choices: string[];
4767
4767
  }>;
4768
4768
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4769
4769
  };
@@ -4782,33 +4782,33 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
4782
4782
  description: string;
4783
4783
  max: number;
4784
4784
  } | {
4785
- type: "range";
4785
+ type: "object-schema";
4786
4786
  param: string;
4787
4787
  title: string;
4788
4788
  description: string;
4789
- max: number;
4790
- min: number;
4791
- step: number;
4792
- default: number;
4789
+ objectSchema?: any;
4793
4790
  } | {
4794
- type: "select-string";
4791
+ type: "range";
4795
4792
  param: string;
4796
4793
  title: string;
4797
4794
  description: string;
4798
- default: string | null;
4799
- choices: string[];
4795
+ max: number;
4796
+ default: number;
4797
+ min: number;
4798
+ step: number;
4800
4799
  } | {
4801
- type: "object-schema";
4800
+ type: "select-boolean";
4802
4801
  param: string;
4803
4802
  title: string;
4804
4803
  description: string;
4805
- objectSchema?: any;
4804
+ default: boolean | null;
4806
4805
  } | {
4807
- type: "select-boolean";
4806
+ type: "select-string";
4808
4807
  param: string;
4809
4808
  title: string;
4810
4809
  description: string;
4811
- default: boolean | null;
4810
+ default: string | null;
4811
+ choices: string[];
4812
4812
  }>;
4813
4813
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4814
4814
  };
@@ -5080,33 +5080,33 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
5080
5080
  description: string;
5081
5081
  max: number;
5082
5082
  } | {
5083
- type: "range";
5083
+ type: "object-schema";
5084
5084
  param: string;
5085
5085
  title: string;
5086
5086
  description: string;
5087
- max: number;
5088
- min: number;
5089
- step: number;
5090
- default: number;
5087
+ objectSchema?: any;
5091
5088
  } | {
5092
- type: "select-string";
5089
+ type: "range";
5093
5090
  param: string;
5094
5091
  title: string;
5095
5092
  description: string;
5096
- default: string | null;
5097
- choices: string[];
5093
+ max: number;
5094
+ default: number;
5095
+ min: number;
5096
+ step: number;
5098
5097
  } | {
5099
- type: "object-schema";
5098
+ type: "select-boolean";
5100
5099
  param: string;
5101
5100
  title: string;
5102
5101
  description: string;
5103
- objectSchema?: any;
5102
+ default: boolean | null;
5104
5103
  } | {
5105
- type: "select-boolean";
5104
+ type: "select-string";
5106
5105
  param: string;
5107
5106
  title: string;
5108
5107
  description: string;
5109
- default: boolean | null;
5108
+ default: string | null;
5109
+ choices: string[];
5110
5110
  }>;
5111
5111
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5112
5112
  };
@@ -5180,33 +5180,33 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
5180
5180
  description: string;
5181
5181
  max: number;
5182
5182
  } | {
5183
- type: "range";
5183
+ type: "object-schema";
5184
5184
  param: string;
5185
5185
  title: string;
5186
5186
  description: string;
5187
- max: number;
5188
- min: number;
5189
- step: number;
5190
- default: number;
5187
+ objectSchema?: any;
5191
5188
  } | {
5192
- type: "select-string";
5189
+ type: "range";
5193
5190
  param: string;
5194
5191
  title: string;
5195
5192
  description: string;
5196
- default: string | null;
5197
- choices: string[];
5193
+ max: number;
5194
+ default: number;
5195
+ min: number;
5196
+ step: number;
5198
5197
  } | {
5199
- type: "object-schema";
5198
+ type: "select-boolean";
5200
5199
  param: string;
5201
5200
  title: string;
5202
5201
  description: string;
5203
- objectSchema?: any;
5202
+ default: boolean | null;
5204
5203
  } | {
5205
- type: "select-boolean";
5204
+ type: "select-string";
5206
5205
  param: string;
5207
5206
  title: string;
5208
5207
  description: string;
5209
- default: boolean | null;
5208
+ default: string | null;
5209
+ choices: string[];
5210
5210
  }>;
5211
5211
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5212
5212
  };
@@ -5281,33 +5281,33 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
5281
5281
  description: string;
5282
5282
  max: number;
5283
5283
  } | {
5284
- type: "range";
5284
+ type: "object-schema";
5285
5285
  param: string;
5286
5286
  title: string;
5287
5287
  description: string;
5288
- max: number;
5289
- min: number;
5290
- step: number;
5291
- default: number;
5288
+ objectSchema?: any;
5292
5289
  } | {
5293
- type: "select-string";
5290
+ type: "range";
5294
5291
  param: string;
5295
5292
  title: string;
5296
5293
  description: string;
5297
- default: string | null;
5298
- choices: string[];
5294
+ max: number;
5295
+ default: number;
5296
+ min: number;
5297
+ step: number;
5299
5298
  } | {
5300
- type: "object-schema";
5299
+ type: "select-boolean";
5301
5300
  param: string;
5302
5301
  title: string;
5303
5302
  description: string;
5304
- objectSchema?: any;
5303
+ default: boolean | null;
5305
5304
  } | {
5306
- type: "select-boolean";
5305
+ type: "select-string";
5307
5306
  param: string;
5308
5307
  title: string;
5309
5308
  description: string;
5310
- default: boolean | null;
5309
+ default: string | null;
5310
+ choices: string[];
5311
5311
  }>;
5312
5312
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5313
5313
  };
@@ -5326,33 +5326,33 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
5326
5326
  description: string;
5327
5327
  max: number;
5328
5328
  } | {
5329
- type: "range";
5329
+ type: "object-schema";
5330
5330
  param: string;
5331
5331
  title: string;
5332
5332
  description: string;
5333
- max: number;
5334
- min: number;
5335
- step: number;
5336
- default: number;
5333
+ objectSchema?: any;
5337
5334
  } | {
5338
- type: "select-string";
5335
+ type: "range";
5339
5336
  param: string;
5340
5337
  title: string;
5341
5338
  description: string;
5342
- default: string | null;
5343
- choices: string[];
5339
+ max: number;
5340
+ default: number;
5341
+ min: number;
5342
+ step: number;
5344
5343
  } | {
5345
- type: "object-schema";
5344
+ type: "select-boolean";
5346
5345
  param: string;
5347
5346
  title: string;
5348
5347
  description: string;
5349
- objectSchema?: any;
5348
+ default: boolean | null;
5350
5349
  } | {
5351
- type: "select-boolean";
5350
+ type: "select-string";
5352
5351
  param: string;
5353
5352
  title: string;
5354
5353
  description: string;
5355
- default: boolean | null;
5354
+ default: string | null;
5355
+ choices: string[];
5356
5356
  }>;
5357
5357
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5358
5358
  };
@@ -5621,33 +5621,33 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
5621
5621
  description: string;
5622
5622
  max: number;
5623
5623
  } | {
5624
- type: "range";
5624
+ type: "object-schema";
5625
5625
  param: string;
5626
5626
  title: string;
5627
5627
  description: string;
5628
- max: number;
5629
- min: number;
5630
- step: number;
5631
- default: number;
5628
+ objectSchema?: any;
5632
5629
  } | {
5633
- type: "select-string";
5630
+ type: "range";
5634
5631
  param: string;
5635
5632
  title: string;
5636
5633
  description: string;
5637
- default: string | null;
5638
- choices: string[];
5634
+ max: number;
5635
+ default: number;
5636
+ min: number;
5637
+ step: number;
5639
5638
  } | {
5640
- type: "object-schema";
5639
+ type: "select-boolean";
5641
5640
  param: string;
5642
5641
  title: string;
5643
5642
  description: string;
5644
- objectSchema?: any;
5643
+ default: boolean | null;
5645
5644
  } | {
5646
- type: "select-boolean";
5645
+ type: "select-string";
5647
5646
  param: string;
5648
5647
  title: string;
5649
5648
  description: string;
5650
- default: boolean | null;
5649
+ default: string | null;
5650
+ choices: string[];
5651
5651
  }>;
5652
5652
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5653
5653
  };
@@ -5720,33 +5720,33 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
5720
5720
  description: string;
5721
5721
  max: number;
5722
5722
  } | {
5723
- type: "range";
5723
+ type: "object-schema";
5724
5724
  param: string;
5725
5725
  title: string;
5726
5726
  description: string;
5727
- max: number;
5728
- min: number;
5729
- step: number;
5730
- default: number;
5727
+ objectSchema?: any;
5731
5728
  } | {
5732
- type: "select-string";
5729
+ type: "range";
5733
5730
  param: string;
5734
5731
  title: string;
5735
5732
  description: string;
5736
- default: string | null;
5737
- choices: string[];
5733
+ max: number;
5734
+ default: number;
5735
+ min: number;
5736
+ step: number;
5738
5737
  } | {
5739
- type: "object-schema";
5738
+ type: "select-boolean";
5740
5739
  param: string;
5741
5740
  title: string;
5742
5741
  description: string;
5743
- objectSchema?: any;
5742
+ default: boolean | null;
5744
5743
  } | {
5745
- type: "select-boolean";
5744
+ type: "select-string";
5746
5745
  param: string;
5747
5746
  title: string;
5748
5747
  description: string;
5749
- default: boolean | null;
5748
+ default: string | null;
5749
+ choices: string[];
5750
5750
  }>;
5751
5751
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5752
5752
  };
@@ -5819,33 +5819,33 @@ declare const GatewayGetEmbeddingsRequest: z.ZodObject<{
5819
5819
  description: string;
5820
5820
  max: number;
5821
5821
  } | {
5822
- type: "range";
5822
+ type: "object-schema";
5823
5823
  param: string;
5824
5824
  title: string;
5825
5825
  description: string;
5826
- max: number;
5827
- min: number;
5828
- step: number;
5829
- default: number;
5826
+ objectSchema?: any;
5830
5827
  } | {
5831
- type: "select-string";
5828
+ type: "range";
5832
5829
  param: string;
5833
5830
  title: string;
5834
5831
  description: string;
5835
- default: string | null;
5836
- choices: string[];
5832
+ max: number;
5833
+ default: number;
5834
+ min: number;
5835
+ step: number;
5837
5836
  } | {
5838
- type: "object-schema";
5837
+ type: "select-boolean";
5839
5838
  param: string;
5840
5839
  title: string;
5841
5840
  description: string;
5842
- objectSchema?: any;
5841
+ default: boolean | null;
5843
5842
  } | {
5844
- type: "select-boolean";
5843
+ type: "select-string";
5845
5844
  param: string;
5846
5845
  title: string;
5847
5846
  description: string;
5848
- default: boolean | null;
5847
+ default: string | null;
5848
+ choices: string[];
5849
5849
  }>;
5850
5850
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5851
5851
  };
@@ -5863,33 +5863,33 @@ declare const GatewayGetEmbeddingsRequest: z.ZodObject<{
5863
5863
  description: string;
5864
5864
  max: number;
5865
5865
  } | {
5866
- type: "range";
5866
+ type: "object-schema";
5867
5867
  param: string;
5868
5868
  title: string;
5869
5869
  description: string;
5870
- max: number;
5871
- min: number;
5872
- step: number;
5873
- default: number;
5870
+ objectSchema?: any;
5874
5871
  } | {
5875
- type: "select-string";
5872
+ type: "range";
5876
5873
  param: string;
5877
5874
  title: string;
5878
5875
  description: string;
5879
- default: string | null;
5880
- choices: string[];
5876
+ max: number;
5877
+ default: number;
5878
+ min: number;
5879
+ step: number;
5881
5880
  } | {
5882
- type: "object-schema";
5881
+ type: "select-boolean";
5883
5882
  param: string;
5884
5883
  title: string;
5885
5884
  description: string;
5886
- objectSchema?: any;
5885
+ default: boolean | null;
5887
5886
  } | {
5888
- type: "select-boolean";
5887
+ type: "select-string";
5889
5888
  param: string;
5890
5889
  title: string;
5891
5890
  description: string;
5892
- default: boolean | null;
5891
+ default: string | null;
5892
+ choices: string[];
5893
5893
  }>;
5894
5894
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5895
5895
  };
@@ -5949,33 +5949,33 @@ declare const GatewayGetEmbeddingsRequest: z.ZodObject<{
5949
5949
  description: string;
5950
5950
  max: number;
5951
5951
  } | {
5952
- type: "range";
5952
+ type: "object-schema";
5953
5953
  param: string;
5954
5954
  title: string;
5955
5955
  description: string;
5956
- max: number;
5957
- min: number;
5958
- step: number;
5959
- default: number;
5956
+ objectSchema?: any;
5960
5957
  } | {
5961
- type: "select-string";
5958
+ type: "range";
5962
5959
  param: string;
5963
5960
  title: string;
5964
5961
  description: string;
5965
- default: string | null;
5966
- choices: string[];
5962
+ max: number;
5963
+ default: number;
5964
+ min: number;
5965
+ step: number;
5967
5966
  } | {
5968
- type: "object-schema";
5967
+ type: "select-boolean";
5969
5968
  param: string;
5970
5969
  title: string;
5971
5970
  description: string;
5972
- objectSchema?: any;
5971
+ default: boolean | null;
5973
5972
  } | {
5974
- type: "select-boolean";
5973
+ type: "select-string";
5975
5974
  param: string;
5976
5975
  title: string;
5977
5976
  description: string;
5978
- default: boolean | null;
5977
+ default: string | null;
5978
+ choices: string[];
5979
5979
  }>;
5980
5980
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
5981
5981
  };
@@ -6010,33 +6010,33 @@ declare const GatewayGetEmbeddingsRequest: z.ZodObject<{
6010
6010
  description: string;
6011
6011
  max: number;
6012
6012
  } | {
6013
- type: "range";
6013
+ type: "object-schema";
6014
6014
  param: string;
6015
6015
  title: string;
6016
6016
  description: string;
6017
- max: number;
6018
- min: number;
6019
- step: number;
6020
- default: number;
6017
+ objectSchema?: any;
6021
6018
  } | {
6022
- type: "select-string";
6019
+ type: "range";
6023
6020
  param: string;
6024
6021
  title: string;
6025
6022
  description: string;
6026
- default: string | null;
6027
- choices: string[];
6023
+ max: number;
6024
+ default: number;
6025
+ min: number;
6026
+ step: number;
6028
6027
  } | {
6029
- type: "object-schema";
6028
+ type: "select-boolean";
6030
6029
  param: string;
6031
6030
  title: string;
6032
6031
  description: string;
6033
- objectSchema?: any;
6032
+ default: boolean | null;
6034
6033
  } | {
6035
- type: "select-boolean";
6034
+ type: "select-string";
6036
6035
  param: string;
6037
6036
  title: string;
6038
6037
  description: string;
6039
- default: boolean | null;
6038
+ default: string | null;
6039
+ choices: string[];
6040
6040
  }>;
6041
6041
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
6042
6042
  };