@mate-academy/llm-gateway 11.32.0 → 11.32.1

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.
Files changed (23) hide show
  1. package/README.md +26 -4
  2. package/dist/LLMService.typedefs.d.ts +1 -0
  3. package/dist/LLMService.typedefs.js.map +1 -1
  4. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.d.ts +1 -0
  5. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js +33 -16
  6. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js.map +1 -1
  7. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.typedefs.d.ts +9 -2
  8. package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +90 -0
  9. package/dist/providers/LLMAPI/LLMAPI.constants.js +30 -0
  10. package/dist/providers/LLMAPI/LLMAPI.constants.js.map +1 -1
  11. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js +5 -1
  12. package/dist/providers/LLMAPI/services/LLMAPIAssistance.service.js.map +1 -1
  13. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js +10 -2
  14. package/dist/providers/LLMAPI/services/LLMAPICompletion.service.js.map +1 -1
  15. package/dist/providers/LLMAPI/utilities/cacheControl.constants.d.ts +2 -0
  16. package/dist/providers/LLMAPI/utilities/cacheControl.constants.js +8 -0
  17. package/dist/providers/LLMAPI/utilities/cacheControl.constants.js.map +1 -0
  18. package/dist/providers/LLMAPI/utilities/cacheControl.d.ts +2 -2
  19. package/dist/providers/LLMAPI/utilities/cacheControl.js +10 -1
  20. package/dist/providers/LLMAPI/utilities/cacheControl.js.map +1 -1
  21. package/dist/providers/LLMAPI/utilities/cacheControl.typedefs.d.ts +6 -1
  22. package/dist/providers/LLMAPI/utilities/cacheControl.typedefs.js.map +1 -1
  23. package/package.json +1 -1
@@ -5159,6 +5159,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5159
5159
  webSearch: true,
5160
5160
  jsonOutput: true,
5161
5161
  structuredOutputs: true,
5162
+ explicitPromptCache: true,
5162
5163
  },
5163
5164
  },
5164
5165
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_SOL_AZURE]: {
@@ -5173,6 +5174,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5173
5174
  webSearch: true,
5174
5175
  jsonOutput: true,
5175
5176
  structuredOutputs: true,
5177
+ explicitPromptCache: true,
5176
5178
  },
5177
5179
  },
5178
5180
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_TERRA_AZURE]: {
@@ -5187,6 +5189,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5187
5189
  webSearch: true,
5188
5190
  jsonOutput: true,
5189
5191
  structuredOutputs: true,
5192
+ explicitPromptCache: true,
5190
5193
  },
5191
5194
  },
5192
5195
  [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_3_AZURE]: {
@@ -5433,6 +5436,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5433
5436
  webSearch: true,
5434
5437
  jsonOutput: true,
5435
5438
  structuredOutputs: true,
5439
+ explicitPromptCache: true,
5436
5440
  },
5437
5441
  },
5438
5442
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_SOL]: {
@@ -5447,6 +5451,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5447
5451
  webSearch: true,
5448
5452
  jsonOutput: true,
5449
5453
  structuredOutputs: true,
5454
+ explicitPromptCache: true,
5450
5455
  },
5451
5456
  },
5452
5457
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_TERRA]: {
@@ -5461,6 +5466,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5461
5466
  webSearch: true,
5462
5467
  jsonOutput: true,
5463
5468
  structuredOutputs: true,
5469
+ explicitPromptCache: true,
5464
5470
  },
5465
5471
  },
5466
5472
  [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_3]: {
@@ -5608,6 +5614,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5608
5614
  webSearch: true,
5609
5615
  jsonOutput: true,
5610
5616
  structuredOutputs: true,
5617
+ explicitPromptCache: true,
5611
5618
  },
5612
5619
  },
5613
5620
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_SOL_OPENAI]: {
@@ -5622,6 +5629,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5622
5629
  webSearch: true,
5623
5630
  jsonOutput: true,
5624
5631
  structuredOutputs: true,
5632
+ explicitPromptCache: true,
5625
5633
  },
5626
5634
  },
5627
5635
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_6_TERRA_OPENAI]: {
@@ -5636,6 +5644,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
5636
5644
  webSearch: true,
5637
5645
  jsonOutput: true,
5638
5646
  structuredOutputs: true,
5647
+ explicitPromptCache: true,
5639
5648
  },
5640
5649
  },
5641
5650
  [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_7_MAX]: {
@@ -8524,6 +8533,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8524
8533
  webSearch: false,
8525
8534
  jsonOutput: true,
8526
8535
  structuredOutputs: true,
8536
+ explicitPromptCache: true,
8527
8537
  },
8528
8538
  },
8529
8539
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_LUNA_AZURE]: {
@@ -8538,6 +8548,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8538
8548
  webSearch: false,
8539
8549
  jsonOutput: true,
8540
8550
  structuredOutputs: true,
8551
+ explicitPromptCache: true,
8541
8552
  },
8542
8553
  },
8543
8554
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_SOL_AZURE]: {
@@ -8552,6 +8563,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8552
8563
  webSearch: false,
8553
8564
  jsonOutput: true,
8554
8565
  structuredOutputs: true,
8566
+ explicitPromptCache: true,
8555
8567
  },
8556
8568
  },
8557
8569
  [LLMAPI_typedefs_1.LLMAPIModelNames.DREAMINA_SEEDANCE_2_0_260128_BYTEPLUS]: {
@@ -8695,6 +8707,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8695
8707
  jsonOutput: true,
8696
8708
  structuredOutputs: true,
8697
8709
  reasoningToolsOnChatCompletions: false,
8710
+ explicitPromptCache: true,
8698
8711
  },
8699
8712
  },
8700
8713
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_LUNA]: {
@@ -8710,6 +8723,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8710
8723
  jsonOutput: true,
8711
8724
  structuredOutputs: true,
8712
8725
  reasoningToolsOnChatCompletions: false,
8726
+ explicitPromptCache: true,
8713
8727
  },
8714
8728
  },
8715
8729
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_SOL]: {
@@ -8725,6 +8739,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8725
8739
  jsonOutput: true,
8726
8740
  structuredOutputs: true,
8727
8741
  reasoningToolsOnChatCompletions: false,
8742
+ explicitPromptCache: true,
8728
8743
  },
8729
8744
  },
8730
8745
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_IMAGE_2_5_FLARE]: {
@@ -8885,6 +8900,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8885
8900
  webSearch: true,
8886
8901
  jsonOutput: true,
8887
8902
  structuredOutputs: true,
8903
+ explicitPromptCache: true,
8888
8904
  },
8889
8905
  },
8890
8906
  [LLMAPI_typedefs_1.LLMAPIModelNames.PA_GPT_5_6_SOL_NOVITA]: {
@@ -8899,6 +8915,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8899
8915
  webSearch: true,
8900
8916
  jsonOutput: true,
8901
8917
  structuredOutputs: true,
8918
+ explicitPromptCache: true,
8902
8919
  },
8903
8920
  },
8904
8921
  [LLMAPI_typedefs_1.LLMAPIModelNames.PA_GPT_5_6_TERRA_NOVITA]: {
@@ -8913,6 +8930,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8913
8930
  webSearch: true,
8914
8931
  jsonOutput: true,
8915
8932
  structuredOutputs: true,
8933
+ explicitPromptCache: true,
8916
8934
  },
8917
8935
  },
8918
8936
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_ASTRA_OPENAI]: {
@@ -8928,6 +8946,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8928
8946
  jsonOutput: true,
8929
8947
  structuredOutputs: true,
8930
8948
  reasoningToolsOnChatCompletions: false,
8949
+ explicitPromptCache: true,
8931
8950
  },
8932
8951
  },
8933
8952
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_LUNA_OPENAI]: {
@@ -8943,6 +8962,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8943
8962
  jsonOutput: true,
8944
8963
  structuredOutputs: true,
8945
8964
  reasoningToolsOnChatCompletions: false,
8965
+ explicitPromptCache: true,
8946
8966
  },
8947
8967
  },
8948
8968
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_SOL_OPENAI]: {
@@ -8958,6 +8978,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
8958
8978
  jsonOutput: true,
8959
8979
  structuredOutputs: true,
8960
8980
  reasoningToolsOnChatCompletions: false,
8981
+ explicitPromptCache: true,
8961
8982
  },
8962
8983
  },
8963
8984
  [LLMAPI_typedefs_1.LLMAPIModelNames.BYTEDANCE_SEEDANCE_2_0_RUNWARE]: {
@@ -9102,6 +9123,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9102
9123
  webSearch: false,
9103
9124
  jsonOutput: true,
9104
9125
  structuredOutputs: true,
9126
+ explicitPromptCache: true,
9105
9127
  },
9106
9128
  },
9107
9129
  [LLMAPI_typedefs_1.LLMAPIModelNames.GROK_4_7_AZURE]: {
@@ -9297,6 +9319,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9297
9319
  jsonOutput: true,
9298
9320
  structuredOutputs: true,
9299
9321
  reasoningToolsOnChatCompletions: false,
9322
+ explicitPromptCache: true,
9300
9323
  },
9301
9324
  },
9302
9325
  [LLMAPI_typedefs_1.LLMAPIModelNames.GLM_5_3_MELIOUS]: {
@@ -9381,6 +9404,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9381
9404
  webSearch: false,
9382
9405
  jsonOutput: true,
9383
9406
  structuredOutputs: true,
9407
+ explicitPromptCache: true,
9384
9408
  },
9385
9409
  },
9386
9410
  [LLMAPI_typedefs_1.LLMAPIModelNames.OPENAI_GPT_6_SOL_NOVITA]: {
@@ -9395,6 +9419,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9395
9419
  webSearch: false,
9396
9420
  jsonOutput: true,
9397
9421
  structuredOutputs: true,
9422
+ explicitPromptCache: true,
9398
9423
  },
9399
9424
  },
9400
9425
  [LLMAPI_typedefs_1.LLMAPIModelNames.OPENAI_GPT_6_1_SOL_NOVITA]: {
@@ -9409,6 +9434,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9409
9434
  webSearch: false,
9410
9435
  jsonOutput: true,
9411
9436
  structuredOutputs: true,
9437
+ explicitPromptCache: true,
9412
9438
  },
9413
9439
  },
9414
9440
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_6_1_SOL_OPENAI]: {
@@ -9424,6 +9450,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9424
9450
  jsonOutput: true,
9425
9451
  structuredOutputs: true,
9426
9452
  reasoningToolsOnChatCompletions: false,
9453
+ explicitPromptCache: true,
9427
9454
  },
9428
9455
  },
9429
9456
  [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN3_8_FLASH_QWEN]: {
@@ -9750,6 +9777,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9750
9777
  jsonOutput: true,
9751
9778
  structuredOutputs: true,
9752
9779
  reasoningToolsOnChatCompletions: false,
9780
+ explicitPromptCache: true,
9753
9781
  },
9754
9782
  },
9755
9783
  [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_1_FLASH_1017_BOUNDLESS]: {
@@ -9884,6 +9912,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9884
9912
  jsonOutput: true,
9885
9913
  structuredOutputs: true,
9886
9914
  reasoningToolsOnChatCompletions: false,
9915
+ explicitPromptCache: true,
9887
9916
  },
9888
9917
  },
9889
9918
  [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K3_1_PRO]: {
@@ -9955,6 +9984,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
9955
9984
  jsonOutput: true,
9956
9985
  structuredOutputs: true,
9957
9986
  reasoningToolsOnChatCompletions: false,
9987
+ explicitPromptCache: true,
9958
9988
  },
9959
9989
  },
9960
9990
  [LLMAPI_typedefs_1.LLMAPIModelNames.BYTEDANCE_SEEDANCE_2_0_FAST_RUNWARE]: {