@mate-academy/llm-gateway 11.29.0 → 11.29.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.
- package/README.md +1 -1
- package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +18 -9
- package/dist/providers/LLMAPI/LLMAPI.constants.js +6 -3
- package/dist/providers/LLMAPI/LLMAPI.constants.js.map +1 -1
- package/dist/providers/LLMAPI/LLMAPI.typedefs.d.ts +1 -1
- package/dist/providers/LLMAPI/LLMAPI.typedefs.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1938,7 +1938,7 @@ if (!('error' in result) && result.usage) {
|
|
|
1938
1938
|
those entries declare `structuredOutputs: false`, `jsonOutput: false` and
|
|
1939
1939
|
`toolStructuredOutputs: true`. For such a model the gateway sends one function tool,
|
|
1940
1940
|
`structured_response`, whose parameters are the JSON schema, and forces the call with
|
|
1941
|
-
`tool_choice`. Claude Sonnet 5.5, Opus 5.5 and Fable 5.
|
|
1941
|
+
`tool_choice`. Claude Sonnet 5.5, Opus 5.5, Fable 5.1 and Fable 5.2 reject a `tool_choice` that
|
|
1942
1942
|
names a tool, so their entries also declare `forcedToolChoice: false`: the gateway offers
|
|
1943
1943
|
the same tool with `tool_choice: 'auto'` and asks for the call in the system message.
|
|
1944
1944
|
It reads the answer from the arguments of that tool call (or from the
|
|
@@ -16652,7 +16652,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16652
16652
|
readonly maxOutputTokens: 128000;
|
|
16653
16653
|
};
|
|
16654
16654
|
readonly config: {
|
|
16655
|
-
readonly temperature:
|
|
16655
|
+
readonly temperature: 1;
|
|
16656
16656
|
};
|
|
16657
16657
|
readonly pricing: {
|
|
16658
16658
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -16672,6 +16672,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16672
16672
|
readonly jsonOutput: false;
|
|
16673
16673
|
readonly structuredOutputs: false;
|
|
16674
16674
|
readonly toolStructuredOutputs: true;
|
|
16675
|
+
readonly forcedToolChoice: false;
|
|
16675
16676
|
};
|
|
16676
16677
|
};
|
|
16677
16678
|
readonly "aws-bedrock/global.anthropic.claude-fable-5-2": {
|
|
@@ -16681,7 +16682,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16681
16682
|
readonly maxOutputTokens: 128000;
|
|
16682
16683
|
};
|
|
16683
16684
|
readonly config: {
|
|
16684
|
-
readonly temperature:
|
|
16685
|
+
readonly temperature: 1;
|
|
16685
16686
|
};
|
|
16686
16687
|
readonly pricing: {
|
|
16687
16688
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -16701,6 +16702,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16701
16702
|
readonly jsonOutput: false;
|
|
16702
16703
|
readonly structuredOutputs: false;
|
|
16703
16704
|
readonly toolStructuredOutputs: true;
|
|
16705
|
+
readonly forcedToolChoice: false;
|
|
16704
16706
|
};
|
|
16705
16707
|
};
|
|
16706
16708
|
readonly "canopywave/moonshotai/kimi-k3.1-pro": {
|
|
@@ -16738,7 +16740,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16738
16740
|
readonly maxOutputTokens: 128000;
|
|
16739
16741
|
};
|
|
16740
16742
|
readonly config: {
|
|
16741
|
-
readonly temperature:
|
|
16743
|
+
readonly temperature: 1;
|
|
16742
16744
|
};
|
|
16743
16745
|
readonly pricing: {
|
|
16744
16746
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -16758,6 +16760,7 @@ export declare const LLMAPI_AVAILABLE_MODELS: {
|
|
|
16758
16760
|
readonly jsonOutput: false;
|
|
16759
16761
|
readonly structuredOutputs: false;
|
|
16760
16762
|
readonly toolStructuredOutputs: true;
|
|
16763
|
+
readonly forcedToolChoice: false;
|
|
16761
16764
|
};
|
|
16762
16765
|
};
|
|
16763
16766
|
};
|
|
@@ -33983,7 +33986,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
33983
33986
|
readonly maxOutputTokens: 128000;
|
|
33984
33987
|
};
|
|
33985
33988
|
readonly config: {
|
|
33986
|
-
readonly temperature:
|
|
33989
|
+
readonly temperature: 1;
|
|
33987
33990
|
};
|
|
33988
33991
|
readonly pricing: {
|
|
33989
33992
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -34003,6 +34006,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
34003
34006
|
readonly jsonOutput: false;
|
|
34004
34007
|
readonly structuredOutputs: false;
|
|
34005
34008
|
readonly toolStructuredOutputs: true;
|
|
34009
|
+
readonly forcedToolChoice: false;
|
|
34006
34010
|
};
|
|
34007
34011
|
};
|
|
34008
34012
|
readonly "aws-bedrock/global.anthropic.claude-fable-5-2": {
|
|
@@ -34012,7 +34016,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
34012
34016
|
readonly maxOutputTokens: 128000;
|
|
34013
34017
|
};
|
|
34014
34018
|
readonly config: {
|
|
34015
|
-
readonly temperature:
|
|
34019
|
+
readonly temperature: 1;
|
|
34016
34020
|
};
|
|
34017
34021
|
readonly pricing: {
|
|
34018
34022
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -34032,6 +34036,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
34032
34036
|
readonly jsonOutput: false;
|
|
34033
34037
|
readonly structuredOutputs: false;
|
|
34034
34038
|
readonly toolStructuredOutputs: true;
|
|
34039
|
+
readonly forcedToolChoice: false;
|
|
34035
34040
|
};
|
|
34036
34041
|
};
|
|
34037
34042
|
readonly "canopywave/moonshotai/kimi-k3.1-pro": {
|
|
@@ -34069,7 +34074,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
34069
34074
|
readonly maxOutputTokens: 128000;
|
|
34070
34075
|
};
|
|
34071
34076
|
readonly config: {
|
|
34072
|
-
readonly temperature:
|
|
34077
|
+
readonly temperature: 1;
|
|
34073
34078
|
};
|
|
34074
34079
|
readonly pricing: {
|
|
34075
34080
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -34089,6 +34094,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
34089
34094
|
readonly jsonOutput: false;
|
|
34090
34095
|
readonly structuredOutputs: false;
|
|
34091
34096
|
readonly toolStructuredOutputs: true;
|
|
34097
|
+
readonly forcedToolChoice: false;
|
|
34092
34098
|
};
|
|
34093
34099
|
};
|
|
34094
34100
|
};
|
|
@@ -50742,7 +50748,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50742
50748
|
readonly maxOutputTokens: 128000;
|
|
50743
50749
|
};
|
|
50744
50750
|
readonly config: {
|
|
50745
|
-
readonly temperature:
|
|
50751
|
+
readonly temperature: 1;
|
|
50746
50752
|
};
|
|
50747
50753
|
readonly pricing: {
|
|
50748
50754
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -50762,6 +50768,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50762
50768
|
readonly jsonOutput: false;
|
|
50763
50769
|
readonly structuredOutputs: false;
|
|
50764
50770
|
readonly toolStructuredOutputs: true;
|
|
50771
|
+
readonly forcedToolChoice: false;
|
|
50765
50772
|
};
|
|
50766
50773
|
};
|
|
50767
50774
|
readonly "aws-bedrock/global.anthropic.claude-fable-5-2": {
|
|
@@ -50771,7 +50778,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50771
50778
|
readonly maxOutputTokens: 128000;
|
|
50772
50779
|
};
|
|
50773
50780
|
readonly config: {
|
|
50774
|
-
readonly temperature:
|
|
50781
|
+
readonly temperature: 1;
|
|
50775
50782
|
};
|
|
50776
50783
|
readonly pricing: {
|
|
50777
50784
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -50791,6 +50798,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50791
50798
|
readonly jsonOutput: false;
|
|
50792
50799
|
readonly structuredOutputs: false;
|
|
50793
50800
|
readonly toolStructuredOutputs: true;
|
|
50801
|
+
readonly forcedToolChoice: false;
|
|
50794
50802
|
};
|
|
50795
50803
|
};
|
|
50796
50804
|
readonly "canopywave/moonshotai/kimi-k3.1-pro": {
|
|
@@ -50828,7 +50836,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50828
50836
|
readonly maxOutputTokens: 128000;
|
|
50829
50837
|
};
|
|
50830
50838
|
readonly config: {
|
|
50831
|
-
readonly temperature:
|
|
50839
|
+
readonly temperature: 1;
|
|
50832
50840
|
};
|
|
50833
50841
|
readonly pricing: {
|
|
50834
50842
|
readonly getPriceForTextInput: (tokens: number) => number;
|
|
@@ -50848,6 +50856,7 @@ export declare const LLMAPI_MODELS: {
|
|
|
50848
50856
|
readonly jsonOutput: false;
|
|
50849
50857
|
readonly structuredOutputs: false;
|
|
50850
50858
|
readonly toolStructuredOutputs: true;
|
|
50859
|
+
readonly forcedToolChoice: false;
|
|
50851
50860
|
};
|
|
50852
50861
|
};
|
|
50853
50862
|
};
|
|
@@ -10283,7 +10283,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
|
|
|
10283
10283
|
[LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_FABLE_5_2_ANTHROPIC]: {
|
|
10284
10284
|
name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_FABLE_5_2_ANTHROPIC,
|
|
10285
10285
|
limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
|
|
10286
|
-
config: { temperature:
|
|
10286
|
+
config: { temperature: 1 },
|
|
10287
10287
|
pricing: { getPriceForTextInput: (tokens) => 8 * tokens / 1_000_000, getPriceForCachedTextInput: (tokens) => 0.2 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 40 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, getPriceForCacheWriteInput: (tokens) => 10 * tokens / 1_000_000, getPriceForCacheWrite1hInput: (tokens) => 16 * tokens / 1_000_000, currency: 'USD' },
|
|
10288
10288
|
capabilities: {
|
|
10289
10289
|
vision: true,
|
|
@@ -10293,12 +10293,13 @@ exports.LLMAPI_AVAILABLE_MODELS = {
|
|
|
10293
10293
|
jsonOutput: false,
|
|
10294
10294
|
structuredOutputs: false,
|
|
10295
10295
|
toolStructuredOutputs: true,
|
|
10296
|
+
forcedToolChoice: false,
|
|
10296
10297
|
},
|
|
10297
10298
|
},
|
|
10298
10299
|
[LLMAPI_typedefs_1.LLMAPIModelNames.GLOBAL_ANTHROPIC_CLAUDE_FABLE_5_2_AWS_BEDROCK]: {
|
|
10299
10300
|
name: LLMAPI_typedefs_1.LLMAPIModelNames.GLOBAL_ANTHROPIC_CLAUDE_FABLE_5_2_AWS_BEDROCK,
|
|
10300
10301
|
limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
|
|
10301
|
-
config: { temperature:
|
|
10302
|
+
config: { temperature: 1 },
|
|
10302
10303
|
pricing: { getPriceForTextInput: (tokens) => 8 * tokens / 1_000_000, getPriceForCachedTextInput: (tokens) => 0.2 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 40 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, getPriceForCacheWriteInput: (tokens) => 10 * tokens / 1_000_000, getPriceForCacheWrite1hInput: (tokens) => 16 * tokens / 1_000_000, currency: 'USD' },
|
|
10303
10304
|
capabilities: {
|
|
10304
10305
|
vision: true,
|
|
@@ -10308,6 +10309,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
|
|
|
10308
10309
|
jsonOutput: false,
|
|
10309
10310
|
structuredOutputs: false,
|
|
10310
10311
|
toolStructuredOutputs: true,
|
|
10312
|
+
forcedToolChoice: false,
|
|
10311
10313
|
},
|
|
10312
10314
|
},
|
|
10313
10315
|
[LLMAPI_typedefs_1.LLMAPIModelNames.MOONSHOTAI_KIMI_K3_1_PRO_CANOPYWAVE]: {
|
|
@@ -10327,7 +10329,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
|
|
|
10327
10329
|
[LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_FABLE_5_2]: {
|
|
10328
10330
|
name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_FABLE_5_2,
|
|
10329
10331
|
limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
|
|
10330
|
-
config: { temperature:
|
|
10332
|
+
config: { temperature: 1 },
|
|
10331
10333
|
pricing: { getPriceForTextInput: (tokens) => 8 * tokens / 1_000_000, getPriceForCachedTextInput: (tokens) => 0.2 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 40 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, getPriceForCacheWriteInput: (tokens) => 10 * tokens / 1_000_000, getPriceForCacheWrite1hInput: (tokens) => 16 * tokens / 1_000_000, currency: 'USD' },
|
|
10332
10334
|
capabilities: {
|
|
10333
10335
|
vision: true,
|
|
@@ -10337,6 +10339,7 @@ exports.LLMAPI_AVAILABLE_MODELS = {
|
|
|
10337
10339
|
jsonOutput: false,
|
|
10338
10340
|
structuredOutputs: false,
|
|
10339
10341
|
toolStructuredOutputs: true,
|
|
10342
|
+
forcedToolChoice: false,
|
|
10340
10343
|
},
|
|
10341
10344
|
},
|
|
10342
10345
|
};
|