@llmgateway/ai-sdk-provider 2.5.1 → 3.0.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.
@@ -8,7 +8,7 @@ type LLMGatewayProviderOptions = {
8
8
  * One of `max_tokens` or `effort` is required.
9
9
  * If `exclude` is true, reasoning will be removed from the response. Default is false.
10
10
  */
11
- reasoning?: {
11
+ reasoningText?: {
12
12
  enabled?: boolean;
13
13
  exclude?: boolean;
14
14
  } & ({
@@ -347,7 +347,7 @@ interface ProviderModelMapping {
347
347
  /**
348
348
  * Whether this model supports reasoning mode
349
349
  */
350
- reasoning?: boolean;
350
+ reasoningText?: boolean;
351
351
  /**
352
352
  * Whether this model supports the OpenAI responses API (defaults to true if reasoning is true)
353
353
  */
@@ -611,7 +611,7 @@ declare const models: [{
611
611
  readonly maxOutput: undefined;
612
612
  readonly streaming: true;
613
613
  readonly vision: true;
614
- readonly reasoning: true;
614
+ readonly reasoningText: true;
615
615
  readonly tools: false;
616
616
  }];
617
617
  readonly jsonOutput: true;
@@ -632,7 +632,7 @@ declare const models: [{
632
632
  readonly streaming: false;
633
633
  readonly vision: false;
634
634
  readonly tools: false;
635
- readonly reasoning: false;
635
+ readonly reasoningText: false;
636
636
  readonly supportsResponsesApi: false;
637
637
  }];
638
638
  readonly jsonOutput: true;
@@ -732,7 +732,7 @@ declare const models: [{
732
732
  readonly streaming: true;
733
733
  readonly vision: false;
734
734
  readonly tools: true;
735
- readonly reasoning: true;
735
+ readonly reasoningText: true;
736
736
  }];
737
737
  readonly jsonOutput: true;
738
738
  }, {
@@ -752,7 +752,7 @@ declare const models: [{
752
752
  readonly streaming: true;
753
753
  readonly vision: false;
754
754
  readonly tools: true;
755
- readonly reasoning: true;
755
+ readonly reasoningText: true;
756
756
  }];
757
757
  readonly jsonOutput: true;
758
758
  }, {
@@ -770,7 +770,7 @@ declare const models: [{
770
770
  readonly requestPrice: 0;
771
771
  readonly contextSize: 400000;
772
772
  readonly maxOutput: 128000;
773
- readonly reasoning: true;
773
+ readonly reasoningText: true;
774
774
  readonly streaming: true;
775
775
  readonly vision: true;
776
776
  readonly tools: true;
@@ -792,7 +792,7 @@ declare const models: [{
792
792
  readonly requestPrice: 0;
793
793
  readonly contextSize: 400000;
794
794
  readonly maxOutput: 128000;
795
- readonly reasoning: true;
795
+ readonly reasoningText: true;
796
796
  readonly streaming: true;
797
797
  readonly vision: true;
798
798
  readonly tools: true;
@@ -814,7 +814,7 @@ declare const models: [{
814
814
  readonly requestPrice: 0;
815
815
  readonly contextSize: 400000;
816
816
  readonly maxOutput: 128000;
817
- readonly reasoning: true;
817
+ readonly reasoningText: true;
818
818
  readonly streaming: true;
819
819
  readonly vision: false;
820
820
  readonly tools: true;
@@ -878,7 +878,7 @@ declare const models: [{
878
878
  readonly maxOutput: 8192;
879
879
  readonly streaming: true;
880
880
  readonly vision: false;
881
- readonly reasoning: true;
881
+ readonly reasoningText: true;
882
882
  readonly tools: true;
883
883
  }];
884
884
  }, {
@@ -973,7 +973,7 @@ declare const models: [{
973
973
  readonly maxOutput: 32000;
974
974
  readonly streaming: true;
975
975
  readonly vision: true;
976
- readonly reasoning: true;
976
+ readonly reasoningText: true;
977
977
  readonly tools: true;
978
978
  }];
979
979
  }, {
@@ -1357,7 +1357,7 @@ declare const models: [{
1357
1357
  readonly contextSize: 1000000;
1358
1358
  readonly maxOutput: undefined;
1359
1359
  readonly streaming: true;
1360
- readonly reasoning: false;
1360
+ readonly reasoningText: false;
1361
1361
  readonly vision: false;
1362
1362
  readonly tools: false;
1363
1363
  }];
@@ -1376,7 +1376,7 @@ declare const models: [{
1376
1376
  readonly contextSize: 1000000;
1377
1377
  readonly maxOutput: undefined;
1378
1378
  readonly streaming: true;
1379
- readonly reasoning: false;
1379
+ readonly reasoningText: false;
1380
1380
  readonly vision: false;
1381
1381
  readonly tools: false;
1382
1382
  }];
@@ -2287,7 +2287,7 @@ declare const models: [{
2287
2287
  readonly requestPrice: 0;
2288
2288
  readonly contextSize: 262000;
2289
2289
  readonly maxOutput: 8192;
2290
- readonly reasoning: false;
2290
+ readonly reasoningText: false;
2291
2291
  readonly streaming: true;
2292
2292
  readonly vision: false;
2293
2293
  readonly tools: true;
@@ -2307,7 +2307,7 @@ declare const models: [{
2307
2307
  readonly requestPrice: 0;
2308
2308
  readonly contextSize: 262000;
2309
2309
  readonly maxOutput: 8192;
2310
- readonly reasoning: true;
2310
+ readonly reasoningText: true;
2311
2311
  readonly streaming: true;
2312
2312
  readonly vision: false;
2313
2313
  readonly tools: true;
@@ -2539,7 +2539,7 @@ declare const models: [{
2539
2539
  readonly streaming: true;
2540
2540
  readonly vision: false;
2541
2541
  readonly tools: true;
2542
- readonly reasoning: true;
2542
+ readonly reasoningText: true;
2543
2543
  }];
2544
2544
  readonly jsonOutput: true;
2545
2545
  }, {
@@ -2594,7 +2594,7 @@ declare const models: [{
2594
2594
  readonly requestPrice: 0;
2595
2595
  readonly contextSize: 131072;
2596
2596
  readonly maxOutput: 32768;
2597
- readonly reasoning: true;
2597
+ readonly reasoningText: true;
2598
2598
  readonly reasoningOutput: "omit";
2599
2599
  readonly streaming: true;
2600
2600
  readonly vision: false;
@@ -2635,7 +2635,7 @@ declare const models: [{
2635
2635
  readonly requestPrice: 0;
2636
2636
  readonly contextSize: 256000;
2637
2637
  readonly maxOutput: 32800;
2638
- readonly reasoning: true;
2638
+ readonly reasoningText: true;
2639
2639
  readonly reasoningOutput: "omit";
2640
2640
  readonly streaming: true;
2641
2641
  readonly vision: true;
@@ -2856,7 +2856,7 @@ declare const models: [{
2856
2856
  readonly contextSize: 128000;
2857
2857
  readonly maxOutput: undefined;
2858
2858
  readonly streaming: true;
2859
- readonly reasoning: true;
2859
+ readonly reasoningText: true;
2860
2860
  readonly vision: false;
2861
2861
  readonly tools: true;
2862
2862
  }];
@@ -2876,7 +2876,7 @@ declare const models: [{
2876
2876
  readonly contextSize: 128000;
2877
2877
  readonly maxOutput: undefined;
2878
2878
  readonly streaming: true;
2879
- readonly reasoning: true;
2879
+ readonly reasoningText: true;
2880
2880
  readonly reasoningOutput: "omit";
2881
2881
  readonly vision: true;
2882
2882
  readonly tools: true;
@@ -2897,7 +2897,7 @@ declare const models: [{
2897
2897
  readonly contextSize: 128000;
2898
2898
  readonly maxOutput: undefined;
2899
2899
  readonly streaming: true;
2900
- readonly reasoning: false;
2900
+ readonly reasoningText: false;
2901
2901
  readonly vision: false;
2902
2902
  readonly tools: true;
2903
2903
  }];
@@ -2917,7 +2917,7 @@ declare const models: [{
2917
2917
  readonly contextSize: 128000;
2918
2918
  readonly maxOutput: undefined;
2919
2919
  readonly streaming: true;
2920
- readonly reasoning: true;
2920
+ readonly reasoningText: true;
2921
2921
  readonly vision: false;
2922
2922
  readonly tools: true;
2923
2923
  }];
@@ -2937,7 +2937,7 @@ declare const models: [{
2937
2937
  readonly contextSize: 128000;
2938
2938
  readonly maxOutput: undefined;
2939
2939
  readonly streaming: true;
2940
- readonly reasoning: false;
2940
+ readonly reasoningText: false;
2941
2941
  readonly vision: false;
2942
2942
  readonly tools: true;
2943
2943
  }];
@@ -2957,7 +2957,7 @@ declare const models: [{
2957
2957
  readonly contextSize: 128000;
2958
2958
  readonly maxOutput: undefined;
2959
2959
  readonly streaming: true;
2960
- readonly reasoning: false;
2960
+ readonly reasoningText: false;
2961
2961
  readonly vision: false;
2962
2962
  readonly tools: true;
2963
2963
  }];
@@ -2977,7 +2977,7 @@ declare const models: [{
2977
2977
  readonly contextSize: 128000;
2978
2978
  readonly maxOutput: undefined;
2979
2979
  readonly streaming: true;
2980
- readonly reasoning: false;
2980
+ readonly reasoningText: false;
2981
2981
  readonly vision: false;
2982
2982
  readonly tools: true;
2983
2983
  }];
@@ -8,7 +8,7 @@ type LLMGatewayProviderOptions = {
8
8
  * One of `max_tokens` or `effort` is required.
9
9
  * If `exclude` is true, reasoning will be removed from the response. Default is false.
10
10
  */
11
- reasoning?: {
11
+ reasoningText?: {
12
12
  enabled?: boolean;
13
13
  exclude?: boolean;
14
14
  } & ({
@@ -347,7 +347,7 @@ interface ProviderModelMapping {
347
347
  /**
348
348
  * Whether this model supports reasoning mode
349
349
  */
350
- reasoning?: boolean;
350
+ reasoningText?: boolean;
351
351
  /**
352
352
  * Whether this model supports the OpenAI responses API (defaults to true if reasoning is true)
353
353
  */
@@ -611,7 +611,7 @@ declare const models: [{
611
611
  readonly maxOutput: undefined;
612
612
  readonly streaming: true;
613
613
  readonly vision: true;
614
- readonly reasoning: true;
614
+ readonly reasoningText: true;
615
615
  readonly tools: false;
616
616
  }];
617
617
  readonly jsonOutput: true;
@@ -632,7 +632,7 @@ declare const models: [{
632
632
  readonly streaming: false;
633
633
  readonly vision: false;
634
634
  readonly tools: false;
635
- readonly reasoning: false;
635
+ readonly reasoningText: false;
636
636
  readonly supportsResponsesApi: false;
637
637
  }];
638
638
  readonly jsonOutput: true;
@@ -732,7 +732,7 @@ declare const models: [{
732
732
  readonly streaming: true;
733
733
  readonly vision: false;
734
734
  readonly tools: true;
735
- readonly reasoning: true;
735
+ readonly reasoningText: true;
736
736
  }];
737
737
  readonly jsonOutput: true;
738
738
  }, {
@@ -752,7 +752,7 @@ declare const models: [{
752
752
  readonly streaming: true;
753
753
  readonly vision: false;
754
754
  readonly tools: true;
755
- readonly reasoning: true;
755
+ readonly reasoningText: true;
756
756
  }];
757
757
  readonly jsonOutput: true;
758
758
  }, {
@@ -770,7 +770,7 @@ declare const models: [{
770
770
  readonly requestPrice: 0;
771
771
  readonly contextSize: 400000;
772
772
  readonly maxOutput: 128000;
773
- readonly reasoning: true;
773
+ readonly reasoningText: true;
774
774
  readonly streaming: true;
775
775
  readonly vision: true;
776
776
  readonly tools: true;
@@ -792,7 +792,7 @@ declare const models: [{
792
792
  readonly requestPrice: 0;
793
793
  readonly contextSize: 400000;
794
794
  readonly maxOutput: 128000;
795
- readonly reasoning: true;
795
+ readonly reasoningText: true;
796
796
  readonly streaming: true;
797
797
  readonly vision: true;
798
798
  readonly tools: true;
@@ -814,7 +814,7 @@ declare const models: [{
814
814
  readonly requestPrice: 0;
815
815
  readonly contextSize: 400000;
816
816
  readonly maxOutput: 128000;
817
- readonly reasoning: true;
817
+ readonly reasoningText: true;
818
818
  readonly streaming: true;
819
819
  readonly vision: false;
820
820
  readonly tools: true;
@@ -878,7 +878,7 @@ declare const models: [{
878
878
  readonly maxOutput: 8192;
879
879
  readonly streaming: true;
880
880
  readonly vision: false;
881
- readonly reasoning: true;
881
+ readonly reasoningText: true;
882
882
  readonly tools: true;
883
883
  }];
884
884
  }, {
@@ -973,7 +973,7 @@ declare const models: [{
973
973
  readonly maxOutput: 32000;
974
974
  readonly streaming: true;
975
975
  readonly vision: true;
976
- readonly reasoning: true;
976
+ readonly reasoningText: true;
977
977
  readonly tools: true;
978
978
  }];
979
979
  }, {
@@ -1357,7 +1357,7 @@ declare const models: [{
1357
1357
  readonly contextSize: 1000000;
1358
1358
  readonly maxOutput: undefined;
1359
1359
  readonly streaming: true;
1360
- readonly reasoning: false;
1360
+ readonly reasoningText: false;
1361
1361
  readonly vision: false;
1362
1362
  readonly tools: false;
1363
1363
  }];
@@ -1376,7 +1376,7 @@ declare const models: [{
1376
1376
  readonly contextSize: 1000000;
1377
1377
  readonly maxOutput: undefined;
1378
1378
  readonly streaming: true;
1379
- readonly reasoning: false;
1379
+ readonly reasoningText: false;
1380
1380
  readonly vision: false;
1381
1381
  readonly tools: false;
1382
1382
  }];
@@ -2287,7 +2287,7 @@ declare const models: [{
2287
2287
  readonly requestPrice: 0;
2288
2288
  readonly contextSize: 262000;
2289
2289
  readonly maxOutput: 8192;
2290
- readonly reasoning: false;
2290
+ readonly reasoningText: false;
2291
2291
  readonly streaming: true;
2292
2292
  readonly vision: false;
2293
2293
  readonly tools: true;
@@ -2307,7 +2307,7 @@ declare const models: [{
2307
2307
  readonly requestPrice: 0;
2308
2308
  readonly contextSize: 262000;
2309
2309
  readonly maxOutput: 8192;
2310
- readonly reasoning: true;
2310
+ readonly reasoningText: true;
2311
2311
  readonly streaming: true;
2312
2312
  readonly vision: false;
2313
2313
  readonly tools: true;
@@ -2539,7 +2539,7 @@ declare const models: [{
2539
2539
  readonly streaming: true;
2540
2540
  readonly vision: false;
2541
2541
  readonly tools: true;
2542
- readonly reasoning: true;
2542
+ readonly reasoningText: true;
2543
2543
  }];
2544
2544
  readonly jsonOutput: true;
2545
2545
  }, {
@@ -2594,7 +2594,7 @@ declare const models: [{
2594
2594
  readonly requestPrice: 0;
2595
2595
  readonly contextSize: 131072;
2596
2596
  readonly maxOutput: 32768;
2597
- readonly reasoning: true;
2597
+ readonly reasoningText: true;
2598
2598
  readonly reasoningOutput: "omit";
2599
2599
  readonly streaming: true;
2600
2600
  readonly vision: false;
@@ -2635,7 +2635,7 @@ declare const models: [{
2635
2635
  readonly requestPrice: 0;
2636
2636
  readonly contextSize: 256000;
2637
2637
  readonly maxOutput: 32800;
2638
- readonly reasoning: true;
2638
+ readonly reasoningText: true;
2639
2639
  readonly reasoningOutput: "omit";
2640
2640
  readonly streaming: true;
2641
2641
  readonly vision: true;
@@ -2856,7 +2856,7 @@ declare const models: [{
2856
2856
  readonly contextSize: 128000;
2857
2857
  readonly maxOutput: undefined;
2858
2858
  readonly streaming: true;
2859
- readonly reasoning: true;
2859
+ readonly reasoningText: true;
2860
2860
  readonly vision: false;
2861
2861
  readonly tools: true;
2862
2862
  }];
@@ -2876,7 +2876,7 @@ declare const models: [{
2876
2876
  readonly contextSize: 128000;
2877
2877
  readonly maxOutput: undefined;
2878
2878
  readonly streaming: true;
2879
- readonly reasoning: true;
2879
+ readonly reasoningText: true;
2880
2880
  readonly reasoningOutput: "omit";
2881
2881
  readonly vision: true;
2882
2882
  readonly tools: true;
@@ -2897,7 +2897,7 @@ declare const models: [{
2897
2897
  readonly contextSize: 128000;
2898
2898
  readonly maxOutput: undefined;
2899
2899
  readonly streaming: true;
2900
- readonly reasoning: false;
2900
+ readonly reasoningText: false;
2901
2901
  readonly vision: false;
2902
2902
  readonly tools: true;
2903
2903
  }];
@@ -2917,7 +2917,7 @@ declare const models: [{
2917
2917
  readonly contextSize: 128000;
2918
2918
  readonly maxOutput: undefined;
2919
2919
  readonly streaming: true;
2920
- readonly reasoning: true;
2920
+ readonly reasoningText: true;
2921
2921
  readonly vision: false;
2922
2922
  readonly tools: true;
2923
2923
  }];
@@ -2937,7 +2937,7 @@ declare const models: [{
2937
2937
  readonly contextSize: 128000;
2938
2938
  readonly maxOutput: undefined;
2939
2939
  readonly streaming: true;
2940
- readonly reasoning: false;
2940
+ readonly reasoningText: false;
2941
2941
  readonly vision: false;
2942
2942
  readonly tools: true;
2943
2943
  }];
@@ -2957,7 +2957,7 @@ declare const models: [{
2957
2957
  readonly contextSize: 128000;
2958
2958
  readonly maxOutput: undefined;
2959
2959
  readonly streaming: true;
2960
- readonly reasoning: false;
2960
+ readonly reasoningText: false;
2961
2961
  readonly vision: false;
2962
2962
  readonly tools: true;
2963
2963
  }];
@@ -2977,7 +2977,7 @@ declare const models: [{
2977
2977
  readonly contextSize: 128000;
2978
2978
  readonly maxOutput: undefined;
2979
2979
  readonly streaming: true;
2980
- readonly reasoning: false;
2980
+ readonly reasoningText: false;
2981
2981
  readonly vision: false;
2982
2982
  readonly tools: true;
2983
2983
  }];